import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:gourmet/entity/discounts_activity.dart';
import 'package:gourmet/entity/merchant_service.dart';
import 'package:gourmet/ui/sliver_header.dart';
import 'package:gourmet/utils/colors.dart';
import 'package:gourmet/utils/radian.dart';
import 'package:gourmet/utils/styles.dart';
import 'package:gourmet/utils/svg.dart';
import 'package:gourmet/utils/tools.dart';
import 'package:syncfusion_flutter_sliders/sliders.dart';

class ClassifyOrdinaryController extends GetxController {
  late Rx<SystemUiOverlayStyle> systemUiOverlayStyle;

  late ScrollController scrollController;

  RxBool visible = false.obs;

  RxBool visibleNext = false.obs;

  RxBool visibleLast = false.obs;

  double maxHeight = 90;

  List<String> sorted = ['综合排序▾', '销量', '速度'];

  RxInt sortIdx = RxInt(0);

  RxBool openSort = RxBool(false);

  List<String> selected = [
    '综合排序',
    '最近距离',
    '好拼优先',
    '起送价最低',
    '配送最快',
    '配送费最低',
    '人均从低到高',
    '人均从高到低'
  ];

  RxInt selectIdx = RxInt(0);

  Rx<SfRangeValues> values = Rx(const SfRangeValues(0, 100));

  List<Rx<DiscountsActivity>> activity = [];

  List<Rx<MerchantService>> service = [];

  GlobalKey sliverKey = GlobalKey();

  final double paddingTop = Get.mediaQuery.padding.top;

  RxDouble opacity = RxDouble(0);

  String mode = 'light';

  @override
  void onInit() {
    super.onInit();

    systemUiOverlayStyle = Rx(SystemUiOverlayStyle.light);
    scrollController = ScrollController()
      ..addListener(() {
        // Get.log('offset = ${scrollController.offset}');
        // if (scrollController.offset > maxHeight) {
        //   systemUiOverlayStyle.value = SystemUiOverlayStyle.dark;
        //   visible.value = true;
        // } else {
        //   systemUiOverlayStyle.value = SystemUiOverlayStyle.light;
        //   visible.value = false;
        // }
      });

    activity.add(Rx(DiscountsActivity(name: '平台补贴')));
    activity.add(Rx(DiscountsActivity(name: '满返代金券')));
    activity.add(Rx(DiscountsActivity(name: '满赠活动')));
    activity.add(Rx(DiscountsActivity(name: '特价商品')));
    activity.add(Rx(DiscountsActivity(name: '首单立减')));
    activity.add(Rx(DiscountsActivity(name: '进店领券')));
    activity.add(Rx(DiscountsActivity(name: '减配送费')));
    activity.add(Rx(DiscountsActivity(name: '店铺满减')));

    service.add(Rx(MerchantService(name: '平台转送')));
    service.add(Rx(MerchantService(name: '到店自取')));
    service.add(Rx(MerchantService(name: '新店铺')));
    service.add(Rx(MerchantService(name: '开发票')));
    service.add(Rx(MerchantService(name: '0价起送')));
    service.add(Rx(MerchantService(name: '品牌商家')));
  }

  @override
  void onClose() {
    super.onClose();
    scrollController.dispose();
  }

  void handleScrollUpdateNotification(ScrollUpdateNotification notification) {
    opacity.value =
        (notification.metrics.pixels / maxHeight).toDouble().clamp(0, 1);
    if (notification.metrics.pixels > maxHeight && mode == 'light') {
      mode = 'dark';
      systemUiOverlayStyle.value = SystemUiOverlayStyle.dark;
    } else if (notification.metrics.pixels < maxHeight && mode == 'dark') {
      mode = 'light';
      systemUiOverlayStyle.value = SystemUiOverlayStyle.light;
    }
    final renderBox = sliverKey.currentContext?.findRenderObject() as RenderBox;
    Offset offset = renderBox.localToGlobal(Offset.zero);
    Get.log('offset = $offset \tsize = ${renderBox.size}');
  }
}

class ClassifyOrdinaryPage extends GetView<ClassifyOrdinaryController> {
  const ClassifyOrdinaryPage({super.key});

  @override
  Widget build(BuildContext context) {
    return buildMain(context);
  }

  Widget buildMain(BuildContext context) {
    return Obx(() => AnnotatedRegion<SystemUiOverlayStyle>(
          value: controller.systemUiOverlayStyle.value,
          child: Scaffold(
              backgroundColor:
                  ColorsUtils.parseColorFromHexString(ColorsUtils.colorF5f5),
              body: Stack(
                children: [
                  CustomScrollView(
                    controller: controller.scrollController,
                    slivers: [
                      SliverToBoxAdapter(
                        child: Container(
                          height: 90,
                          padding: EdgeInsets.only(
                              top: Get.mediaQuery.padding.top + 10),
                          decoration: BoxDecoration(
                              gradient: LinearGradient(
                                  colors: [
                                ColorsUtils.rgba(255, 153, 0, 1),
                                ColorsUtils.rgba(255, 153, 0, 1),
                                ColorsUtils.rgba(255, 100, 77, 1),
                                ColorsUtils.rgba(255, 100, 77, 1)
                              ],
                                  stops: const [
                                0,
                                0,
                                1.0,
                                1.0
                              ],
                                  transform: GradientRotation(
                                      RadianUtils.angleToRadian(90)))),
                          child: Row(
                            mainAxisAlignment: MainAxisAlignment.spaceBetween,
                            children: [
                              IconButton(
                                  onPressed: Get.back,
                                  style: const ButtonStyle(
                                      fixedSize: WidgetStatePropertyAll(
                                          Size.fromWidth(10)),
                                      minimumSize: WidgetStatePropertyAll(
                                          Size.fromWidth(10)),
                                      padding: WidgetStatePropertyAll(
                                          EdgeInsets.zero)),
                                  alignment: Alignment.center,
                                  icon: const Icon(
                                    Icons.arrow_back_ios,
                                    size: 20,
                                    color: Colors.white,
                                  )),
                              Expanded(
                                  child: Center(
                                child: Text(
                                  '美食',
                                  style: StylesUtils.customTextStyle(
                                    fontSize: StylesUtils.fontSize16,
                                    fontWeight: FontWeight.w700,
                                  ),
                                ),
                              )),
                              Container(
                                width: 60,
                                alignment: Alignment.center,
                                child: Stack(
                                  clipBehavior: Clip.none,
                                  children: [
                                    SvgUtils.assetName('u247',
                                        width: 21.w, height: 22),
                                    Positioned(
                                      top: -6.w,
                                      right: -4,
                                      child: Container(
                                        alignment: Alignment.center,
                                        constraints:
                                            const BoxConstraints.expand(
                                                width: 15, height: 15),
                                        decoration: BoxDecoration(
                                            color: Colors.white,
                                            borderRadius:
                                                BorderRadius.circular(7.5)),
                                        child: Text(
                                          '2',
                                          style: StylesUtils.customTextStyle(
                                              fontSize: 11.sp,
                                              color: ColorsUtils.colorFf64),
                                        ),
                                      ),
                                    )
                                  ],
                                ),
                              )
                            ],
                          ),
                        ),
                      ),
                      SliverVisibility(
                        sliver: SliverPersistentHeader(
                          pinned: true,
                          delegate: SliverHeaderDelegate.builder(
                              maxHeight: 40 + controller.paddingTop,
                              minHeight: 40 + controller.paddingTop,
                              builder: (BuildContext context,
                                  double shrinkOffset, bool overlapsContent) {
                                Get.log(
                                    'overlapsContent = $overlapsContent shrinkOffset =$shrinkOffset');
                                Get.engine.addPostFrameCallback((_) {
                                  if (shrinkOffset >=
                                      ((40 + controller.paddingTop) / 2)) {
                                    controller.systemUiOverlayStyle.value =
                                        SystemUiOverlayStyle.dark;
                                    controller.visible.value = true;
                                  } else {
                                    controller.systemUiOverlayStyle.value =
                                        SystemUiOverlayStyle.light;
                                    controller.visible.value = false;
                                  }
                                });
                                return Container(
                                  height: 40 + controller.paddingTop,
                                  padding: EdgeInsets.only(
                                      top: Get.mediaQuery.padding.top),
                                  color: Colors.white,
                                  child: Row(
                                    children: [
                                      IconButton(
                                          onPressed: Get.back,
                                          style: const ButtonStyle(
                                              fixedSize: WidgetStatePropertyAll(
                                                  Size.fromWidth(10)),
                                              minimumSize:
                                                  WidgetStatePropertyAll(
                                                      Size.fromWidth(10)),
                                              padding: WidgetStatePropertyAll(
                                                  EdgeInsets.zero)),
                                          alignment: Alignment.center,
                                          icon: const Icon(
                                            Icons.arrow_back_ios,
                                            size: 20,
                                            color: Colors.black,
                                          )),
                                      Expanded(
                                          child: Center(
                                        child: TextField(
                                          decoration: InputDecoration(
                                            hintText: '请输入商家、商品名称',
                                            hintStyle:
                                                StylesUtils.customTextStyle(
                                              color: ColorsUtils.colorCccc,
                                            ),
                                            prefixIcon: SvgUtils.assetName(
                                                'u241',
                                                width: 14,
                                                height: 14),
                                            prefixIconConstraints:
                                                const BoxConstraints.expand(
                                                    width: 40, height: 14),
                                            constraints:
                                                const BoxConstraints.expand(
                                                    width: 275, height: 35),
                                            fillColor: ColorsUtils
                                                .parseColorFromHexString(
                                                    ColorsUtils.colorF5f5),
                                            filled: true,
                                            isCollapsed: true,
                                            contentPadding:
                                                const EdgeInsets.symmetric(
                                                    vertical: 10),
                                            enabledBorder: OutlineInputBorder(
                                              borderRadius:
                                                  BorderRadius.circular(17.5),
                                              borderSide: BorderSide.none,
                                            ),
                                            focusedBorder: OutlineInputBorder(
                                              borderRadius:
                                                  BorderRadius.circular(17.5),
                                              borderSide: BorderSide.none,
                                            ),
                                            border: OutlineInputBorder(
                                              borderRadius:
                                                  BorderRadius.circular(17.5),
                                              borderSide: BorderSide.none,
                                            ),
                                          ),
                                        ),
                                      )),
                                      Container(
                                        width: 60,
                                        alignment: Alignment.center,
                                        child: Stack(
                                          clipBehavior: Clip.none,
                                          children: [
                                            SvgUtils.assetName('u1115',
                                                width: 21.w, height: 22),
                                            Positioned(
                                              top: -6.w,
                                              right: -4,
                                              child: Container(
                                                alignment: Alignment.center,
                                                constraints:
                                                    const BoxConstraints.expand(
                                                        width: 15, height: 15),
                                                decoration: BoxDecoration(
                                                    color: ColorsUtils
                                                        .parseColorFromHexString(
                                                            ColorsUtils
                                                                .colorFf64),
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            7.5)),
                                                child: Text(
                                                  '2',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          fontSize: 11.sp),
                                                ),
                                              ),
                                            )
                                          ],
                                        ),
                                      )
                                    ],
                                  ),
                                );
                              }),
                        ),
                        visible: controller.visible.value,
                        maintainState: true,
                        maintainAnimation: true,
                      ),
                      SliverPadding(
                        padding: const EdgeInsets.symmetric(vertical: 15),
                        sliver: SliverToBoxAdapter(
                          child: Center(
                            child: TextField(
                              decoration: InputDecoration(
                                hintText: '请输入商家、商品名称',
                                hintStyle: StylesUtils.customTextStyle(
                                  color: ColorsUtils.colorCccc,
                                ),
                                prefixIcon: SvgUtils.assetName('u241',
                                    width: 14, height: 14),
                                prefixIconConstraints:
                                    const BoxConstraints.expand(
                                        width: 40, height: 14),
                                constraints: const BoxConstraints.expand(
                                    width: 345, height: 35),
                                fillColor: Colors.white,
                                filled: true,
                                isCollapsed: true,
                                contentPadding:
                                    const EdgeInsets.symmetric(vertical: 10),
                                enabledBorder: OutlineInputBorder(
                                  borderRadius: BorderRadius.circular(17.5),
                                  borderSide: BorderSide(
                                      color:
                                          ColorsUtils.parseColorFromHexString(
                                              ColorsUtils.colorF2f2)),
                                ),
                                focusedBorder: OutlineInputBorder(
                                  borderRadius: BorderRadius.circular(17.5),
                                  borderSide: BorderSide(
                                      color:
                                          ColorsUtils.parseColorFromHexString(
                                              ColorsUtils.colorF2f2)),
                                ),
                                border: OutlineInputBorder(
                                  borderRadius: BorderRadius.circular(17.5),
                                  borderSide: BorderSide(
                                      color:
                                          ColorsUtils.parseColorFromHexString(
                                              ColorsUtils.colorF2f2)),
                                ),
                              ),
                            ),
                          ),
                        ),
                      ),
                      SliverToBoxAdapter(
                        child: Row(
                          children: [
                            Expanded(
                                child: Column(
                              children: [
                                Center(
                                  child: CircleAvatar(
                                    backgroundColor:
                                        ColorsUtils.parseColorFromHexString(
                                            ColorsUtils.colorF9dc),
                                    radius: 22.5,
                                    child: SvgUtils.assetName('u282',
                                        width: 33, height: 26),
                                  ),
                                ),
                                Container(
                                  margin: const EdgeInsets.only(top: 5),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '全部',
                                    style: StylesUtils.customTextStyle(
                                        color: ColorsUtils.colorFf64,
                                        fontSize: StylesUtils.fontSize13),
                                  ),
                                )
                              ],
                            )),
                            Expanded(
                                child: Column(
                              children: [
                                Center(
                                  child: CircleAvatar(
                                    backgroundColor: Colors.white,
                                    radius: 22.5,
                                    child: Image.network(
                                      'https://cdn7.axureshop.com/demo2024/1877666/images/%E6%99%AE%E9%80%9A%E5%88%86%E7%B1%BB%E5%88%97%E8%A1%A8/u1086.png',
                                      width: 39,
                                      height: 26,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                ),
                                Container(
                                  margin: const EdgeInsets.only(top: 5),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '快餐便当',
                                    style: StylesUtils.customTextStyle(
                                        color: ColorsUtils.color7979,
                                        fontSize: StylesUtils.fontSize13),
                                  ),
                                )
                              ],
                            )),
                            Expanded(
                                child: Column(
                              children: [
                                Center(
                                  child: CircleAvatar(
                                    backgroundColor: Colors.white,
                                    radius: 22.5,
                                    child: Image.network(
                                      'https://cdn7.axureshop.com/demo2024/1877666/images/%E6%99%AE%E9%80%9A%E5%88%86%E7%B1%BB%E5%88%97%E8%A1%A8/u1090.png',
                                      width: 39,
                                      height: 26,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                ),
                                Container(
                                  margin: const EdgeInsets.only(top: 5),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '米粉面馆',
                                    style: StylesUtils.customTextStyle(
                                        color: ColorsUtils.color7979,
                                        fontSize: StylesUtils.fontSize13),
                                  ),
                                )
                              ],
                            )),
                            Expanded(
                                child: Column(
                              children: [
                                Center(
                                  child: CircleAvatar(
                                    backgroundColor: Colors.white,
                                    radius: 22.5,
                                    child: Image.network(
                                      'https://cdn7.axureshop.com/demo2024/1877666/images/%E6%99%AE%E9%80%9A%E5%88%86%E7%B1%BB%E5%88%97%E8%A1%A8/u1094.png',
                                      width: 38,
                                      height: 24,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                ),
                                Container(
                                  margin: const EdgeInsets.only(top: 5),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '地方菜系',
                                    style: StylesUtils.customTextStyle(
                                        color: ColorsUtils.color7979,
                                        fontSize: StylesUtils.fontSize13),
                                  ),
                                )
                              ],
                            )),
                            Expanded(
                                child: Column(
                              children: [
                                Center(
                                  child: CircleAvatar(
                                    backgroundColor: Colors.white,
                                    radius: 22.5,
                                    child: Image.network(
                                      'https://cdn7.axureshop.com/demo2024/1877666/images/%E6%99%AE%E9%80%9A%E5%88%86%E7%B1%BB%E5%88%97%E8%A1%A8/u1098.png',
                                      width: 39,
                                      height: 26,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                ),
                                Container(
                                  margin: const EdgeInsets.only(top: 5),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '炸鸡炸串',
                                    style: StylesUtils.customTextStyle(
                                        color: ColorsUtils.color7979,
                                        fontSize: StylesUtils.fontSize13),
                                  ),
                                )
                              ],
                            ))
                          ],
                        ),
                      ),
                      SliverVisibility(
                          visible: controller.visibleNext.value,
                          sliver: SliverPersistentHeader(
                            pinned: true,
                            delegate: SliverHeaderDelegate.builder(
                                maxHeight: 40,
                                minHeight: 40,
                                builder: (BuildContext context,
                                    double shrinkOffset, bool overlapsContent) {
                                  Get.log(
                                      'over = $overlapsContent  shrinkOffset = $shrinkOffset');
                                  Get.engine.addPostFrameCallback((_) {
                                    controller.visibleNext.value =
                                        shrinkOffset >= 20.0;
                                  });
                                  return Container(
                                    height: 40,
                                    color: Colors.white,
                                    alignment: Alignment.centerLeft,
                                    child: SingleChildScrollView(
                                      scrollDirection: Axis.horizontal,
                                      padding: const EdgeInsets.only(left: 15),
                                      child: Wrap(
                                        spacing: 15,
                                        children: [
                                          Text(
                                            '全部',
                                            softWrap: false,
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.colorFf64,
                                                fontSize:
                                                    StylesUtils.fontSize13),
                                          ),
                                          Text(
                                            '快餐便当',
                                            softWrap: false,
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize13),
                                          ),
                                          Text(
                                            '米粉面馆',
                                            softWrap: false,
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize13),
                                          ),
                                          Text(
                                            '地方菜系',
                                            softWrap: false,
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize13),
                                          ),
                                          Text(
                                            '炸鸡炸串',
                                            softWrap: false,
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize13),
                                          ),
                                          Text(
                                            '特色小吃',
                                            softWrap: false,
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize13),
                                          ),
                                        ],
                                      ),
                                    ),
                                  );
                                }),
                          ),
                          maintainState: true,
                          maintainAnimation: true),
                      SliverPersistentHeader(
                          pinned: true,
                          delegate: SliverHeaderDelegate.builder(
                              maxHeight: 40,
                              minHeight: 40,
                              builder: (BuildContext context,
                                  double shrinkOffset, bool overlapsContent) {
                                Get.log('overlaps = $overlapsContent');
                                Get.engine.addPostFrameCallback((_) {
                                  controller.visibleLast.value =
                                      shrinkOffset >= 40.0 ? true : false;
                                });
                                return Container(
                                  height: 40,
                                  color: shrinkOffset >= 20.0
                                      ? Colors.white
                                      : Colors.transparent,
                                  padding: const EdgeInsets.only(
                                      left: 10, right: 10, bottom: 5),
                                  alignment: Alignment.centerLeft,
                                  child: Row(
                                    mainAxisAlignment:
                                        MainAxisAlignment.spaceBetween,
                                    children: [
                                      Wrap(
                                        spacing: 15,
                                        alignment: WrapAlignment.start,
                                        crossAxisAlignment:
                                            WrapCrossAlignment.center,
                                        children: controller.sorted
                                            .asMap()
                                            .map((key, value) => MapEntry(
                                                key,
                                                GestureDetector(
                                                  onTap: () {
                                                    controller.sortIdx.value =
                                                        key;
                                                    // openShowGeneralDialog(context);
                                                    controller.openSort.value =
                                                        !controller
                                                            .openSort.value;
                                                  },
                                                  child: Text(
                                                    value,
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            color: key ==
                                                                    controller
                                                                        .sortIdx
                                                                        .value
                                                                ? ColorsUtils
                                                                    .colorFf64
                                                                : ColorsUtils
                                                                    .color7979),
                                                  ),
                                                )))
                                            .values
                                            .toList(),
                                      ),
                                      GestureDetector(
                                        onTap: openBottomSheet,
                                        child: Text(
                                          '全部筛选▾',
                                          style: StylesUtils.customTextStyle(
                                              color: ColorsUtils.color7979),
                                        ),
                                      )
                                    ],
                                  ),
                                );
                              })),
                      SliverSafeArea(
                        sliver: SliverList.list(children: [
                          Container(
                            margin: const EdgeInsets.only(bottom: 10),
                            alignment: Alignment.center,
                            child: Container(
                              width: 345,
                              padding: const EdgeInsets.all(10),
                              alignment: Alignment.centerLeft,
                              decoration: BoxDecoration(
                                  color: Colors.white,
                                  borderRadius: BorderRadius.circular(10.r)),
                              child: Row(
                                crossAxisAlignment: CrossAxisAlignment.start,
                                mainAxisAlignment: MainAxisAlignment.start,
                                children: [
                                  ClipRRect(
                                    borderRadius: BorderRadius.circular(5),
                                    child: Image.network(
                                      'https://img0.baidu.com/it/u=655977884,3582260165&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500',
                                      width: 75,
                                      height: 75,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                  Expanded(
                                      child: Padding(
                                    padding: const EdgeInsets.only(left: 10),
                                    child: Column(
                                      children: [
                                        Align(
                                          alignment: Alignment.centerLeft,
                                          child: Text(
                                            '华莱士-凤凰广场2店',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color0000,
                                                fontSize:
                                                    StylesUtils.fontSize16,
                                                fontWeight: FontWeight.w700),
                                          ),
                                        ),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          child: Row(
                                            mainAxisAlignment:
                                                MainAxisAlignment.spaceBetween,
                                            children: [
                                              Text.rich(TextSpan(children: [
                                                TextSpan(
                                                    text: '4.5分 ',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            fontSize:
                                                                StylesUtils
                                                                    .fontSize12,
                                                            color: ColorsUtils
                                                                .colorFf66)),
                                                TextSpan(
                                                    text: ' 月售312  人均￥45',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            color: ColorsUtils
                                                                .color7979,
                                                            fontSize: StylesUtils
                                                                .fontSize12))
                                              ])),
                                              Text(
                                                '平台转送',
                                                style:
                                                    StylesUtils.customTextStyle(
                                                        fontSize: StylesUtils
                                                            .fontSize12,
                                                        color: ColorsUtils
                                                            .colorFf64),
                                              )
                                            ],
                                          ),
                                        ),
                                        Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text(
                                              '起送￥20  免配送费',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color7979,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            ),
                                            Text(
                                              '20分钟  2.2km',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color6666,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            )
                                          ],
                                        ),
                                        Container(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          alignment: Alignment.centerLeft,
                                          child: Wrap(
                                            spacing: 10,
                                            alignment: WrapAlignment.start,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            children: [
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '50减3';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '100减6';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '150减10';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 10,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              })
                                            ],
                                          ),
                                        ),
                                        Align(
                                          alignment: Alignment.centerRight,
                                          child: Wrap(
                                            alignment: WrapAlignment.end,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            spacing: 10,
                                            children: [
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香辣鸡翅',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥20',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '百事可乐（全国免费品尝）',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text.rich(
                                                          TextSpan(children: [
                                                        TextSpan(
                                                            text: '￥8',
                                                            style: StylesUtils.customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64)),
                                                        TextSpan(
                                                            text: ' ￥10',
                                                            style: StylesUtils.customTextStyle(
                                                                color: ColorsUtils
                                                                    .color9999,
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                decoration:
                                                                    TextDecoration
                                                                        .lineThrough,
                                                                decorationColor:
                                                                    ColorsUtils.parseColorFromHexString(
                                                                        ColorsUtils
                                                                            .color9999),
                                                                decorationStyle:
                                                                    TextDecorationStyle
                                                                        .solid,
                                                                decorationThickness:
                                                                    1))
                                                      ])),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香芋夹心饼',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥18',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              )
                                            ],
                                          ),
                                        )
                                      ],
                                    ),
                                  ))
                                ],
                              ),
                            ),
                          ),
                          Container(
                            margin: const EdgeInsets.only(bottom: 10),
                            alignment: Alignment.center,
                            child: Container(
                              width: 345,
                              padding: const EdgeInsets.all(10),
                              alignment: Alignment.centerLeft,
                              decoration: BoxDecoration(
                                  color: Colors.white,
                                  borderRadius: BorderRadius.circular(10.r)),
                              child: Row(
                                crossAxisAlignment: CrossAxisAlignment.start,
                                mainAxisAlignment: MainAxisAlignment.start,
                                children: [
                                  ClipRRect(
                                    borderRadius: BorderRadius.circular(5),
                                    child: Image.network(
                                      'https://img2.baidu.com/it/u=2048374330,2067526209&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
                                      width: 75,
                                      height: 75,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                  Expanded(
                                      child: Padding(
                                    padding: const EdgeInsets.only(left: 10),
                                    child: Column(
                                      children: [
                                        Align(
                                          alignment: Alignment.centerLeft,
                                          child: Text(
                                            '华莱士-凤凰广场2店',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color0000,
                                                fontSize:
                                                    StylesUtils.fontSize16,
                                                fontWeight: FontWeight.w700),
                                          ),
                                        ),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          child: Row(
                                            mainAxisAlignment:
                                                MainAxisAlignment.spaceBetween,
                                            children: [
                                              Text.rich(TextSpan(children: [
                                                TextSpan(
                                                    text: '4.5分 ',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            fontSize:
                                                                StylesUtils
                                                                    .fontSize12,
                                                            color: ColorsUtils
                                                                .colorFf66)),
                                                TextSpan(
                                                    text: ' 月售312  人均￥45',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            color: ColorsUtils
                                                                .color7979,
                                                            fontSize: StylesUtils
                                                                .fontSize12))
                                              ])),
                                              Text(
                                                '平台转送',
                                                style:
                                                    StylesUtils.customTextStyle(
                                                        fontSize: StylesUtils
                                                            .fontSize12,
                                                        color: ColorsUtils
                                                            .colorFf64),
                                              )
                                            ],
                                          ),
                                        ),
                                        Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text(
                                              '起送￥20  免配送费',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color7979,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            ),
                                            Text(
                                              '20分钟  2.2km',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color6666,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            )
                                          ],
                                        ),
                                        Container(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          alignment: Alignment.centerLeft,
                                          child: Wrap(
                                            spacing: 10,
                                            alignment: WrapAlignment.start,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            children: [
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '50减3';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 10,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '100减6';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '150减10';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              })
                                            ],
                                          ),
                                        ),
                                        Align(
                                          alignment: Alignment.centerRight,
                                          child: Wrap(
                                            alignment: WrapAlignment.end,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            spacing: 10,
                                            children: [
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香辣鸡翅',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥20',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '百事可乐（全国免费品尝）',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text.rich(
                                                          TextSpan(children: [
                                                        TextSpan(
                                                            text: '￥8',
                                                            style: StylesUtils.customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64)),
                                                        TextSpan(
                                                            text: ' ￥10',
                                                            style: StylesUtils.customTextStyle(
                                                                color: ColorsUtils
                                                                    .color9999,
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                decoration:
                                                                    TextDecoration
                                                                        .lineThrough,
                                                                decorationColor:
                                                                    ColorsUtils.parseColorFromHexString(
                                                                        ColorsUtils
                                                                            .color9999),
                                                                decorationStyle:
                                                                    TextDecorationStyle
                                                                        .solid,
                                                                decorationThickness:
                                                                    1))
                                                      ])),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香芋夹心饼',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥18',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              )
                                            ],
                                          ),
                                        )
                                      ],
                                    ),
                                  ))
                                ],
                              ),
                            ),
                          ),
                          Container(
                            margin: const EdgeInsets.only(bottom: 10),
                            alignment: Alignment.center,
                            child: Container(
                              width: 345,
                              padding: const EdgeInsets.all(10),
                              alignment: Alignment.centerLeft,
                              decoration: BoxDecoration(
                                  color: Colors.white,
                                  borderRadius: BorderRadius.circular(10.r)),
                              child: Row(
                                crossAxisAlignment: CrossAxisAlignment.start,
                                mainAxisAlignment: MainAxisAlignment.start,
                                children: [
                                  ClipRRect(
                                    borderRadius: BorderRadius.circular(5),
                                    child: Image.network(
                                      'https://img2.baidu.com/it/u=1762044232,2597508453&fm=253&fmt=auto&app=138&f=JPEG?w=600&h=400',
                                      width: 75,
                                      height: 75,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                  Expanded(
                                      child: Padding(
                                    padding: const EdgeInsets.only(left: 10),
                                    child: Column(
                                      children: [
                                        Align(
                                          alignment: Alignment.centerLeft,
                                          child: Text(
                                            '华莱士-凤凰广场2店',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color0000,
                                                fontSize:
                                                    StylesUtils.fontSize16,
                                                fontWeight: FontWeight.w700),
                                          ),
                                        ),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          child: Row(
                                            mainAxisAlignment:
                                                MainAxisAlignment.spaceBetween,
                                            children: [
                                              Text.rich(TextSpan(children: [
                                                TextSpan(
                                                    text: '4.5分 ',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            fontSize:
                                                                StylesUtils
                                                                    .fontSize12,
                                                            color: ColorsUtils
                                                                .colorFf66)),
                                                TextSpan(
                                                    text: ' 月售312  人均￥45',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            color: ColorsUtils
                                                                .color7979,
                                                            fontSize: StylesUtils
                                                                .fontSize12))
                                              ])),
                                              Text(
                                                '平台转送',
                                                style:
                                                    StylesUtils.customTextStyle(
                                                        fontSize: StylesUtils
                                                            .fontSize12,
                                                        color: ColorsUtils
                                                            .colorFf64),
                                              )
                                            ],
                                          ),
                                        ),
                                        Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text(
                                              '起送￥20  免配送费',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color7979,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            ),
                                            Text(
                                              '20分钟  2.2km',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color6666,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            )
                                          ],
                                        ),
                                        Container(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          alignment: Alignment.centerLeft,
                                          child: Wrap(
                                            spacing: 10,
                                            alignment: WrapAlignment.start,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            children: [
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '50减3';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 10,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '100减6';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '150减10';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              })
                                            ],
                                          ),
                                        ),
                                        Align(
                                          alignment: Alignment.centerRight,
                                          child: Wrap(
                                            alignment: WrapAlignment.end,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            spacing: 10,
                                            children: [
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香辣鸡翅',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥20',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '百事可乐（全国免费品尝）',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text.rich(
                                                          TextSpan(children: [
                                                        TextSpan(
                                                            text: '￥8',
                                                            style: StylesUtils.customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64)),
                                                        TextSpan(
                                                            text: ' ￥10',
                                                            style: StylesUtils.customTextStyle(
                                                                color: ColorsUtils
                                                                    .color9999,
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                decoration:
                                                                    TextDecoration
                                                                        .lineThrough,
                                                                decorationColor:
                                                                    ColorsUtils.parseColorFromHexString(
                                                                        ColorsUtils
                                                                            .color9999),
                                                                decorationStyle:
                                                                    TextDecorationStyle
                                                                        .solid,
                                                                decorationThickness:
                                                                    1))
                                                      ])),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香芋夹心饼',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥18',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              )
                                            ],
                                          ),
                                        )
                                      ],
                                    ),
                                  ))
                                ],
                              ),
                            ),
                          ),
                          Container(
                            margin: const EdgeInsets.only(bottom: 10),
                            alignment: Alignment.center,
                            child: Container(
                              width: 345,
                              padding: const EdgeInsets.all(10),
                              alignment: Alignment.centerLeft,
                              decoration: BoxDecoration(
                                  color: Colors.white,
                                  borderRadius: BorderRadius.circular(10.r)),
                              child: Row(
                                crossAxisAlignment: CrossAxisAlignment.start,
                                mainAxisAlignment: MainAxisAlignment.start,
                                children: [
                                  ClipRRect(
                                    borderRadius: BorderRadius.circular(5),
                                    child: Image.network(
                                      'https://img0.baidu.com/it/u=674491115,2187096604&fm=253&fmt=auto&app=138&f=JPEG?w=591&h=500',
                                      width: 75,
                                      height: 75,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                  Expanded(
                                      child: Padding(
                                    padding: const EdgeInsets.only(left: 10),
                                    child: Column(
                                      children: [
                                        Align(
                                          alignment: Alignment.centerLeft,
                                          child: Text(
                                            '华莱士-凤凰广场2店',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color0000,
                                                fontSize:
                                                    StylesUtils.fontSize16,
                                                fontWeight: FontWeight.w700),
                                          ),
                                        ),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          child: Row(
                                            mainAxisAlignment:
                                                MainAxisAlignment.spaceBetween,
                                            children: [
                                              Text.rich(TextSpan(children: [
                                                TextSpan(
                                                    text: '4.5分 ',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            fontSize:
                                                                StylesUtils
                                                                    .fontSize12,
                                                            color: ColorsUtils
                                                                .colorFf66)),
                                                TextSpan(
                                                    text: ' 月售312  人均￥45',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            color: ColorsUtils
                                                                .color7979,
                                                            fontSize: StylesUtils
                                                                .fontSize12))
                                              ])),
                                              Text(
                                                '平台转送',
                                                style:
                                                    StylesUtils.customTextStyle(
                                                        fontSize: StylesUtils
                                                            .fontSize12,
                                                        color: ColorsUtils
                                                            .colorFf64),
                                              )
                                            ],
                                          ),
                                        ),
                                        Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text(
                                              '起送￥20  免配送费',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color7979,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            ),
                                            Text(
                                              '20分钟  2.2km',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color6666,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            )
                                          ],
                                        ),
                                        Container(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          alignment: Alignment.centerLeft,
                                          child: Wrap(
                                            spacing: 10,
                                            alignment: WrapAlignment.start,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            children: [
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '50减3';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 10,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '100减6';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '150减10';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              })
                                            ],
                                          ),
                                        ),
                                        Align(
                                          alignment: Alignment.centerRight,
                                          child: Wrap(
                                            alignment: WrapAlignment.end,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            spacing: 10,
                                            children: [
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香辣鸡翅',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥20',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '百事可乐（全国免费品尝）',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text.rich(
                                                          TextSpan(children: [
                                                        TextSpan(
                                                            text: '￥8',
                                                            style: StylesUtils.customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64)),
                                                        TextSpan(
                                                            text: ' ￥10',
                                                            style: StylesUtils.customTextStyle(
                                                                color: ColorsUtils
                                                                    .color9999,
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                decoration:
                                                                    TextDecoration
                                                                        .lineThrough,
                                                                decorationColor:
                                                                    ColorsUtils.parseColorFromHexString(
                                                                        ColorsUtils
                                                                            .color9999),
                                                                decorationStyle:
                                                                    TextDecorationStyle
                                                                        .solid,
                                                                decorationThickness:
                                                                    1))
                                                      ])),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香芋夹心饼',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥18',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              )
                                            ],
                                          ),
                                        )
                                      ],
                                    ),
                                  ))
                                ],
                              ),
                            ),
                          ),
                          Container(
                            margin: const EdgeInsets.only(bottom: 10),
                            alignment: Alignment.center,
                            child: Container(
                              width: 345,
                              padding: const EdgeInsets.all(10),
                              alignment: Alignment.centerLeft,
                              decoration: BoxDecoration(
                                  color: Colors.white,
                                  borderRadius: BorderRadius.circular(10.r)),
                              child: Row(
                                crossAxisAlignment: CrossAxisAlignment.start,
                                mainAxisAlignment: MainAxisAlignment.start,
                                children: [
                                  ClipRRect(
                                    borderRadius: BorderRadius.circular(5),
                                    child: Image.network(
                                      'https://img2.baidu.com/it/u=259178695,887234081&fm=253&fmt=auto&app=138&f=JPEG?w=595&h=500',
                                      width: 75,
                                      height: 75,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                  Expanded(
                                      child: Padding(
                                    padding: const EdgeInsets.only(left: 10),
                                    child: Column(
                                      children: [
                                        Align(
                                          alignment: Alignment.centerLeft,
                                          child: Text(
                                            '华莱士-凤凰广场2店',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color0000,
                                                fontSize:
                                                    StylesUtils.fontSize16,
                                                fontWeight: FontWeight.w700),
                                          ),
                                        ),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          child: Row(
                                            mainAxisAlignment:
                                                MainAxisAlignment.spaceBetween,
                                            children: [
                                              Text.rich(TextSpan(children: [
                                                TextSpan(
                                                    text: '4.5分 ',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            fontSize:
                                                                StylesUtils
                                                                    .fontSize12,
                                                            color: ColorsUtils
                                                                .colorFf66)),
                                                TextSpan(
                                                    text: ' 月售312  人均￥45',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            color: ColorsUtils
                                                                .color7979,
                                                            fontSize: StylesUtils
                                                                .fontSize12))
                                              ])),
                                              Text(
                                                '平台转送',
                                                style:
                                                    StylesUtils.customTextStyle(
                                                        fontSize: StylesUtils
                                                            .fontSize12,
                                                        color: ColorsUtils
                                                            .colorFf64),
                                              )
                                            ],
                                          ),
                                        ),
                                        Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text(
                                              '起送￥20  免配送费',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color7979,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            ),
                                            Text(
                                              '20分钟  2.2km',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color6666,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            )
                                          ],
                                        ),
                                        Container(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          alignment: Alignment.centerLeft,
                                          child: Wrap(
                                            spacing: 10,
                                            alignment: WrapAlignment.start,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            children: [
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '50减3';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 10,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '100减6';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '150减10';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              })
                                            ],
                                          ),
                                        ),
                                        Align(
                                          alignment: Alignment.centerRight,
                                          child: Wrap(
                                            alignment: WrapAlignment.end,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            spacing: 10,
                                            children: [
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香辣鸡翅',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥20',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '百事可乐（全国免费品尝）',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text.rich(
                                                          TextSpan(children: [
                                                        TextSpan(
                                                            text: '￥8',
                                                            style: StylesUtils.customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64)),
                                                        TextSpan(
                                                            text: ' ￥10',
                                                            style: StylesUtils.customTextStyle(
                                                                color: ColorsUtils
                                                                    .color9999,
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                decoration:
                                                                    TextDecoration
                                                                        .lineThrough,
                                                                decorationColor:
                                                                    ColorsUtils.parseColorFromHexString(
                                                                        ColorsUtils
                                                                            .color9999),
                                                                decorationStyle:
                                                                    TextDecorationStyle
                                                                        .solid,
                                                                decorationThickness:
                                                                    1))
                                                      ])),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香芋夹心饼',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥18',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              )
                                            ],
                                          ),
                                        )
                                      ],
                                    ),
                                  ))
                                ],
                              ),
                            ),
                          ),
                          Container(
                            margin: const EdgeInsets.only(bottom: 10),
                            alignment: Alignment.center,
                            child: Container(
                              width: 345,
                              padding: const EdgeInsets.all(10),
                              alignment: Alignment.centerLeft,
                              decoration: BoxDecoration(
                                  color: Colors.white,
                                  borderRadius: BorderRadius.circular(10.r)),
                              child: Row(
                                crossAxisAlignment: CrossAxisAlignment.start,
                                mainAxisAlignment: MainAxisAlignment.start,
                                children: [
                                  ClipRRect(
                                    borderRadius: BorderRadius.circular(5),
                                    child: Image.network(
                                      'https://img0.baidu.com/it/u=655977884,3582260165&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500',
                                      width: 75,
                                      height: 75,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                  Expanded(
                                      child: Padding(
                                    padding: const EdgeInsets.only(left: 10),
                                    child: Column(
                                      children: [
                                        Align(
                                          alignment: Alignment.centerLeft,
                                          child: Text(
                                            '华莱士-凤凰广场2店',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color0000,
                                                fontSize:
                                                    StylesUtils.fontSize16,
                                                fontWeight: FontWeight.w700),
                                          ),
                                        ),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          child: Row(
                                            mainAxisAlignment:
                                                MainAxisAlignment.spaceBetween,
                                            children: [
                                              Text.rich(TextSpan(children: [
                                                TextSpan(
                                                    text: '4.5分 ',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            fontSize:
                                                                StylesUtils
                                                                    .fontSize12,
                                                            color: ColorsUtils
                                                                .colorFf66)),
                                                TextSpan(
                                                    text: ' 月售312  人均￥45',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            color: ColorsUtils
                                                                .color7979,
                                                            fontSize: StylesUtils
                                                                .fontSize12))
                                              ])),
                                              Text(
                                                '平台转送',
                                                style:
                                                    StylesUtils.customTextStyle(
                                                        fontSize: StylesUtils
                                                            .fontSize12,
                                                        color: ColorsUtils
                                                            .colorFf64),
                                              )
                                            ],
                                          ),
                                        ),
                                        Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text(
                                              '起送￥20  免配送费',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color7979,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            ),
                                            Text(
                                              '20分钟  2.2km',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color6666,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            )
                                          ],
                                        ),
                                        Container(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          alignment: Alignment.centerLeft,
                                          child: Wrap(
                                            spacing: 10,
                                            alignment: WrapAlignment.start,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            children: [
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '50减3';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 10,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '100减6';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '150减10';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              })
                                            ],
                                          ),
                                        ),
                                        Align(
                                          alignment: Alignment.centerRight,
                                          child: Wrap(
                                            alignment: WrapAlignment.end,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            spacing: 10,
                                            children: [
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香辣鸡翅',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥20',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '百事可乐（全国免费品尝）',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text.rich(
                                                          TextSpan(children: [
                                                        TextSpan(
                                                            text: '￥8',
                                                            style: StylesUtils.customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64)),
                                                        TextSpan(
                                                            text: ' ￥10',
                                                            style: StylesUtils.customTextStyle(
                                                                color: ColorsUtils
                                                                    .color9999,
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                decoration:
                                                                    TextDecoration
                                                                        .lineThrough,
                                                                decorationColor:
                                                                    ColorsUtils.parseColorFromHexString(
                                                                        ColorsUtils
                                                                            .color9999),
                                                                decorationStyle:
                                                                    TextDecorationStyle
                                                                        .solid,
                                                                decorationThickness:
                                                                    1))
                                                      ])),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香芋夹心饼',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥18',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              )
                                            ],
                                          ),
                                        )
                                      ],
                                    ),
                                  ))
                                ],
                              ),
                            ),
                          ),
                          Container(
                            margin: const EdgeInsets.only(bottom: 10),
                            alignment: Alignment.center,
                            child: Container(
                              width: 345,
                              padding: const EdgeInsets.all(10),
                              alignment: Alignment.centerLeft,
                              decoration: BoxDecoration(
                                  color: Colors.white,
                                  borderRadius: BorderRadius.circular(10.r)),
                              child: Row(
                                crossAxisAlignment: CrossAxisAlignment.start,
                                mainAxisAlignment: MainAxisAlignment.start,
                                children: [
                                  ClipRRect(
                                    borderRadius: BorderRadius.circular(5),
                                    child: Image.network(
                                      'https://img2.baidu.com/it/u=2048374330,2067526209&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
                                      width: 75,
                                      height: 75,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                  Expanded(
                                      child: Padding(
                                    padding: const EdgeInsets.only(left: 10),
                                    child: Column(
                                      children: [
                                        Align(
                                          alignment: Alignment.centerLeft,
                                          child: Text(
                                            '华莱士-凤凰广场2店',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color0000,
                                                fontSize:
                                                    StylesUtils.fontSize16,
                                                fontWeight: FontWeight.w700),
                                          ),
                                        ),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          child: Row(
                                            mainAxisAlignment:
                                                MainAxisAlignment.spaceBetween,
                                            children: [
                                              Text.rich(TextSpan(children: [
                                                TextSpan(
                                                    text: '4.5分 ',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            fontSize:
                                                                StylesUtils
                                                                    .fontSize12,
                                                            color: ColorsUtils
                                                                .colorFf66)),
                                                TextSpan(
                                                    text: ' 月售312  人均￥45',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            color: ColorsUtils
                                                                .color7979,
                                                            fontSize: StylesUtils
                                                                .fontSize12))
                                              ])),
                                              Text(
                                                '平台转送',
                                                style:
                                                    StylesUtils.customTextStyle(
                                                        fontSize: StylesUtils
                                                            .fontSize12,
                                                        color: ColorsUtils
                                                            .colorFf64),
                                              )
                                            ],
                                          ),
                                        ),
                                        Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text(
                                              '起送￥20  免配送费',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color7979,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            ),
                                            Text(
                                              '20分钟  2.2km',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color6666,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            )
                                          ],
                                        ),
                                        Container(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          alignment: Alignment.centerLeft,
                                          child: Wrap(
                                            spacing: 10,
                                            alignment: WrapAlignment.start,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            children: [
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '50减3';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 10,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '100减6';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '150减10';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              })
                                            ],
                                          ),
                                        ),
                                        Align(
                                          alignment: Alignment.centerRight,
                                          child: Wrap(
                                            alignment: WrapAlignment.end,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            spacing: 10,
                                            children: [
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香辣鸡翅',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥20',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '百事可乐（全国免费品尝）',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text.rich(
                                                          TextSpan(children: [
                                                        TextSpan(
                                                            text: '￥8',
                                                            style: StylesUtils.customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64)),
                                                        TextSpan(
                                                            text: ' ￥10',
                                                            style: StylesUtils.customTextStyle(
                                                                color: ColorsUtils
                                                                    .color9999,
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                decoration:
                                                                    TextDecoration
                                                                        .lineThrough,
                                                                decorationColor:
                                                                    ColorsUtils.parseColorFromHexString(
                                                                        ColorsUtils
                                                                            .color9999),
                                                                decorationStyle:
                                                                    TextDecorationStyle
                                                                        .solid,
                                                                decorationThickness:
                                                                    1))
                                                      ])),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香芋夹心饼',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥18',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              )
                                            ],
                                          ),
                                        )
                                      ],
                                    ),
                                  ))
                                ],
                              ),
                            ),
                          ),
                          Container(
                            margin: const EdgeInsets.only(bottom: 10),
                            alignment: Alignment.center,
                            child: Container(
                              width: 345,
                              padding: const EdgeInsets.all(10),
                              alignment: Alignment.centerLeft,
                              decoration: BoxDecoration(
                                  color: Colors.white,
                                  borderRadius: BorderRadius.circular(10.r)),
                              child: Row(
                                crossAxisAlignment: CrossAxisAlignment.start,
                                mainAxisAlignment: MainAxisAlignment.start,
                                children: [
                                  ClipRRect(
                                    borderRadius: BorderRadius.circular(5),
                                    child: Image.network(
                                      'https://img2.baidu.com/it/u=1762044232,2597508453&fm=253&fmt=auto&app=138&f=JPEG?w=600&h=400',
                                      width: 75,
                                      height: 75,
                                      fit: BoxFit.fill,
                                    ),
                                  ),
                                  Expanded(
                                      child: Padding(
                                    padding: const EdgeInsets.only(left: 10),
                                    child: Column(
                                      children: [
                                        Align(
                                          alignment: Alignment.centerLeft,
                                          child: Text(
                                            '华莱士-凤凰广场2店',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color0000,
                                                fontSize:
                                                    StylesUtils.fontSize16,
                                                fontWeight: FontWeight.w700),
                                          ),
                                        ),
                                        Padding(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          child: Row(
                                            mainAxisAlignment:
                                                MainAxisAlignment.spaceBetween,
                                            children: [
                                              Text.rich(TextSpan(children: [
                                                TextSpan(
                                                    text: '4.5分 ',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            fontSize:
                                                                StylesUtils
                                                                    .fontSize12,
                                                            color: ColorsUtils
                                                                .colorFf66)),
                                                TextSpan(
                                                    text: ' 月售312  人均￥45',
                                                    style: StylesUtils
                                                        .customTextStyle(
                                                            color: ColorsUtils
                                                                .color7979,
                                                            fontSize: StylesUtils
                                                                .fontSize12))
                                              ])),
                                              Text(
                                                '平台转送',
                                                style:
                                                    StylesUtils.customTextStyle(
                                                        fontSize: StylesUtils
                                                            .fontSize12,
                                                        color: ColorsUtils
                                                            .colorFf64),
                                              )
                                            ],
                                          ),
                                        ),
                                        Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text(
                                              '起送￥20  免配送费',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color7979,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            ),
                                            Text(
                                              '20分钟  2.2km',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.color6666,
                                                      fontSize: StylesUtils
                                                          .fontSize12),
                                            )
                                          ],
                                        ),
                                        Container(
                                          padding: const EdgeInsets.symmetric(
                                              vertical: 10),
                                          alignment: Alignment.centerLeft,
                                          child: Wrap(
                                            spacing: 10,
                                            alignment: WrapAlignment.start,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            children: [
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '50减3';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 10,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '100减6';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              }),
                                              Builder(builder: (_) {
                                                final style =
                                                    StylesUtils.customTextStyle(
                                                        color: ColorsUtils
                                                            .colorFf64,
                                                        fontSize: StylesUtils
                                                            .fontSize12);
                                                const value = '150减10';
                                                double width = ToolsUtils
                                                    .calculateTextWidth(
                                                        value: value,
                                                        style: style);
                                                return Container(
                                                  constraints:
                                                      BoxConstraints.expand(
                                                          width: width + 20,
                                                          height: 20),
                                                  alignment: Alignment.center,
                                                  decoration: BoxDecoration(
                                                      borderRadius:
                                                          BorderRadius.circular(
                                                              2.r),
                                                      border: Border.all(
                                                          color: ColorsUtils
                                                              .parseColorFromHexString(
                                                                  ColorsUtils
                                                                      .colorFf64))),
                                                  child: Text(
                                                    value,
                                                    style: style,
                                                  ),
                                                );
                                              })
                                            ],
                                          ),
                                        ),
                                        Align(
                                          alignment: Alignment.centerRight,
                                          child: Wrap(
                                            alignment: WrapAlignment.end,
                                            crossAxisAlignment:
                                                WrapCrossAlignment.center,
                                            spacing: 10,
                                            children: [
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香辣鸡翅',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥20',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '百事可乐（全国免费品尝）',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text.rich(
                                                          TextSpan(children: [
                                                        TextSpan(
                                                            text: '￥8',
                                                            style: StylesUtils.customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64)),
                                                        TextSpan(
                                                            text: ' ￥10',
                                                            style: StylesUtils.customTextStyle(
                                                                color: ColorsUtils
                                                                    .color9999,
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                decoration:
                                                                    TextDecoration
                                                                        .lineThrough,
                                                                decorationColor:
                                                                    ColorsUtils.parseColorFromHexString(
                                                                        ColorsUtils
                                                                            .color9999),
                                                                decorationStyle:
                                                                    TextDecorationStyle
                                                                        .solid,
                                                                decorationThickness:
                                                                    1))
                                                      ])),
                                                    )
                                                  ],
                                                ),
                                              ),
                                              SizedBox(
                                                width: 70,
                                                child: Column(
                                                  children: [
                                                    Image.network(
                                                      'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                      width: 70,
                                                      height: 60,
                                                      fit: BoxFit.fill,
                                                    ),
                                                    Container(
                                                      margin: const EdgeInsets
                                                          .symmetric(
                                                          vertical: 5),
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '香芋夹心饼',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .color0000),
                                                        maxLines: 1,
                                                        overflow: TextOverflow
                                                            .ellipsis,
                                                      ),
                                                    ),
                                                    Align(
                                                      alignment:
                                                          Alignment.centerLeft,
                                                      child: Text(
                                                        '￥18',
                                                        style: StylesUtils
                                                            .customTextStyle(
                                                                fontSize:
                                                                    StylesUtils
                                                                        .fontSize12,
                                                                color: ColorsUtils
                                                                    .colorFf64),
                                                      ),
                                                    )
                                                  ],
                                                ),
                                              )
                                            ],
                                          ),
                                        )
                                      ],
                                    ),
                                  ))
                                ],
                              ),
                            ),
                          ),
                        ]),
                        top: false,
                      )
                    ],
                  ),
                  AnimatedPositioned(
                    top: controller.openSort.value
                        ? (controller.visibleLast.value ? 140 : 260)
                        : -900,
                    left: 0,
                    right: 0,
                    bottom: controller.openSort.value ? 0 : null,
                    duration: const Duration(milliseconds: 500),
                    child: GestureDetector(
                      onTap: () {
                        controller.openSort.value = !controller.openSort.value;
                      },
                      child: Container(
                        color: Colors.black38,
                        height: controller.selected.length * 45,
                        child: Column(
                          children: controller.selected
                              .asMap()
                              .map((key, value) => MapEntry(
                                  key,
                                  Container(
                                    height: 45,
                                    color: Colors.white,
                                    padding: const EdgeInsets.symmetric(
                                        horizontal: 15),
                                    child: GestureDetector(
                                      onTap: () {
                                        controller.selectIdx.value = key;
                                        controller.openSort.value =
                                            !controller.openSort.value;
                                      },
                                      child: Row(
                                        mainAxisAlignment:
                                            MainAxisAlignment.spaceBetween,
                                        children: [
                                          Text(
                                            value,
                                            style: StylesUtils.customTextStyle(
                                              fontSize: StylesUtils.fontSize13,
                                              color: activeColorByIndex(key),
                                            ),
                                          ),
                                          Icon(
                                            CupertinoIcons.checkmark,
                                            size: 20,
                                            color: ColorsUtils
                                                .parseColorFromHexString(
                                                    activeColorByIndex(key)),
                                          )
                                        ],
                                      ),
                                    ),
                                  )))
                              .values
                              .toList(),
                        ),
                      ),
                    ),
                  )
                ],
              )),
        ));
  }

  void openShowGeneralDialog(BuildContext context) {
    Get.log('openShow');
    showGeneralDialog(
        context: context,
        pageBuilder: (BuildContext context, Animation<double> animation,
            Animation<double> secondaryAnimation) {
          return Material(
              color: ColorsUtils.rgba(0, 0, 0, 0.298039215686275),
              type: MaterialType.card,
              child: Obx(() => Transform.translate(
                    offset: Offset(
                        0,
                        controller.openSort.value
                            ? (controller.visibleLast.value ? 140 : 260)
                            : 260),
                    child: Container(
                      padding: const EdgeInsets.only(left: 15, right: 15),
                      color: Colors.white,
                      height: controller.selected.length * 45.0,
                      child: Column(
                        children: controller.selected
                            .asMap()
                            .map((key, value) => MapEntry(
                                key,
                                SizedBox(
                                  height: 45,
                                  child: GestureDetector(
                                    onTap: () {
                                      controller.selectIdx.value = key;
                                      Get.back();
                                      // controller.openSort.value = !controller.openSort.value;
                                    },
                                    child: Row(
                                      mainAxisAlignment:
                                          MainAxisAlignment.spaceBetween,
                                      children: [
                                        Text(
                                          value,
                                          style: StylesUtils.customTextStyle(
                                            fontSize: StylesUtils.fontSize13,
                                            color: activeColorByIndex(key),
                                          ),
                                        ),
                                        Icon(
                                          CupertinoIcons.checkmark,
                                          size: 20,
                                          color: ColorsUtils
                                              .parseColorFromHexString(
                                                  activeColorByIndex(key)),
                                        )
                                      ],
                                    ),
                                  ),
                                )))
                            .values
                            .toList(),
                      ),
                    ),
                  )));
        },
        barrierDismissible: true,
        barrierLabel: '',
        barrierColor: Colors.transparent,
        // barrierColor: ColorsUtils.rgba(0, 0, 0, 0.298039215686275),
        transitionDuration: const Duration(milliseconds: 300),
        transitionBuilder: (BuildContext context, Animation<double> animation,
            Animation<double> secondaryAnimation, Widget child) {
          return SlideTransition(
              position: Tween<Offset>(
                begin: const Offset(0.0, -1.0),
                end: const Offset(0.0, 0.0),
              ).animate(
                  CurvedAnimation(parent: animation, curve: Curves.linear)),
              child: child);
        });
  }

  String activeColorByIndex(int index) {
    if (index == controller.selectIdx.value) {
      return ColorsUtils.colorFf64;
    }
    return ColorsUtils.color9999;
  }

  Widget buildBody(BuildContext context) {
    return Obx(
      () => AnnotatedRegion<SystemUiOverlayStyle>(
        value: controller.systemUiOverlayStyle.value,
        child: Scaffold(
          backgroundColor:
              ColorsUtils.parseColorFromHexString(ColorsUtils.colorF5f5),
          body: Stack(
            children: [
              NotificationListener(
                onNotification: (ScrollNotification notification) {
                  if (notification is ScrollUpdateNotification) {
                    controller.handleScrollUpdateNotification(notification);
                  }
                  return false;
                },
                child: CustomScrollView(
                  slivers: [
                    SliverToBoxAdapter(
                      child: Container(
                        height: 90,
                        padding: EdgeInsets.only(
                            top: Get.mediaQuery.padding.top + 10),
                        decoration: BoxDecoration(
                            gradient: LinearGradient(
                                colors: [
                              ColorsUtils.rgba(255, 153, 0, 1),
                              ColorsUtils.rgba(255, 153, 0, 1),
                              ColorsUtils.rgba(255, 100, 77, 1),
                              ColorsUtils.rgba(255, 100, 77, 1)
                            ],
                                stops: const [
                              0,
                              0,
                              1.0,
                              1.0
                            ],
                                transform: GradientRotation(
                                    RadianUtils.angleToRadian(90)))),
                        child: Row(
                          mainAxisAlignment: MainAxisAlignment.spaceBetween,
                          children: [
                            IconButton(
                                onPressed: Get.back,
                                style: const ButtonStyle(
                                    fixedSize: WidgetStatePropertyAll(
                                        Size.fromWidth(10)),
                                    minimumSize: WidgetStatePropertyAll(
                                        Size.fromWidth(10)),
                                    padding: WidgetStatePropertyAll(
                                        EdgeInsets.zero)),
                                alignment: Alignment.center,
                                icon: const Icon(
                                  Icons.arrow_back_ios,
                                  size: 20,
                                  color: Colors.white,
                                )),
                            Expanded(
                                child: Center(
                              child: Text(
                                '美食',
                                style: StylesUtils.customTextStyle(
                                  fontSize: StylesUtils.fontSize16,
                                  fontWeight: FontWeight.w700,
                                ),
                              ),
                            )),
                            Container(
                              width: 60,
                              alignment: Alignment.center,
                              child: Stack(
                                clipBehavior: Clip.none,
                                children: [
                                  SvgUtils.assetName('u247',
                                      width: 21.w, height: 22),
                                  Positioned(
                                    top: -6.w,
                                    right: -4,
                                    child: Container(
                                      alignment: Alignment.center,
                                      constraints: const BoxConstraints.expand(
                                          width: 15, height: 15),
                                      decoration: BoxDecoration(
                                          color: Colors.white,
                                          borderRadius:
                                              BorderRadius.circular(7.5)),
                                      child: Text(
                                        '2',
                                        style: StylesUtils.customTextStyle(
                                            fontSize: 11.sp,
                                            color: ColorsUtils.colorFf64),
                                      ),
                                    ),
                                  )
                                ],
                              ),
                            )
                          ],
                        ),
                      ),
                    ),
                    SliverPadding(
                      padding: const EdgeInsets.symmetric(vertical: 15),
                      sliver: SliverToBoxAdapter(
                        child: Center(
                          child: TextField(
                            decoration: InputDecoration(
                              hintText: '请输入商家、商品名称',
                              hintStyle: StylesUtils.customTextStyle(
                                color: ColorsUtils.colorCccc,
                              ),
                              prefixIcon: SvgUtils.assetName('u241',
                                  width: 14, height: 14),
                              prefixIconConstraints:
                                  const BoxConstraints.expand(
                                      width: 40, height: 14),
                              constraints: const BoxConstraints.expand(
                                  width: 345, height: 35),
                              fillColor: Colors.white,
                              filled: true,
                              isCollapsed: true,
                              contentPadding:
                                  const EdgeInsets.symmetric(vertical: 10),
                              enabledBorder: OutlineInputBorder(
                                borderRadius: BorderRadius.circular(17.5),
                                borderSide: BorderSide(
                                    color: ColorsUtils.parseColorFromHexString(
                                        ColorsUtils.colorF2f2)),
                              ),
                              focusedBorder: OutlineInputBorder(
                                borderRadius: BorderRadius.circular(17.5),
                                borderSide: BorderSide(
                                    color: ColorsUtils.parseColorFromHexString(
                                        ColorsUtils.colorF2f2)),
                              ),
                              border: OutlineInputBorder(
                                borderRadius: BorderRadius.circular(17.5),
                                borderSide: BorderSide(
                                    color: ColorsUtils.parseColorFromHexString(
                                        ColorsUtils.colorF2f2)),
                              ),
                            ),
                          ),
                        ),
                      ),
                    ),
                    SliverToBoxAdapter(
                      child: Row(
                        children: [
                          Expanded(
                              child: Column(
                            children: [
                              Center(
                                child: CircleAvatar(
                                  backgroundColor:
                                      ColorsUtils.parseColorFromHexString(
                                          ColorsUtils.colorF9dc),
                                  radius: 22.5,
                                  child: SvgUtils.assetName('u282',
                                      width: 33, height: 26),
                                ),
                              ),
                              Container(
                                margin: const EdgeInsets.only(top: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '全部',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.colorFf64,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )
                            ],
                          )),
                          Expanded(
                              child: Column(
                            children: [
                              Center(
                                child: CircleAvatar(
                                  backgroundColor: Colors.white,
                                  radius: 22.5,
                                  child: Image.network(
                                    'https://cdn7.axureshop.com/demo2024/1877666/images/%E6%99%AE%E9%80%9A%E5%88%86%E7%B1%BB%E5%88%97%E8%A1%A8/u1086.png',
                                    width: 39,
                                    height: 26,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                              ),
                              Container(
                                margin: const EdgeInsets.only(top: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '快餐便当',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color7979,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )
                            ],
                          )),
                          Expanded(
                              child: Column(
                            children: [
                              Center(
                                child: CircleAvatar(
                                  backgroundColor: Colors.white,
                                  radius: 22.5,
                                  child: Image.network(
                                    'https://cdn7.axureshop.com/demo2024/1877666/images/%E6%99%AE%E9%80%9A%E5%88%86%E7%B1%BB%E5%88%97%E8%A1%A8/u1090.png',
                                    width: 39,
                                    height: 26,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                              ),
                              Container(
                                margin: const EdgeInsets.only(top: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '米粉面馆',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color7979,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )
                            ],
                          )),
                          Expanded(
                              child: Column(
                            children: [
                              Center(
                                child: CircleAvatar(
                                  backgroundColor: Colors.white,
                                  radius: 22.5,
                                  child: Image.network(
                                    'https://cdn7.axureshop.com/demo2024/1877666/images/%E6%99%AE%E9%80%9A%E5%88%86%E7%B1%BB%E5%88%97%E8%A1%A8/u1094.png',
                                    width: 38,
                                    height: 24,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                              ),
                              Container(
                                margin: const EdgeInsets.only(top: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '地方菜系',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color7979,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )
                            ],
                          )),
                          Expanded(
                              child: Column(
                            children: [
                              Center(
                                child: CircleAvatar(
                                  backgroundColor: Colors.white,
                                  radius: 22.5,
                                  child: Image.network(
                                    'https://cdn7.axureshop.com/demo2024/1877666/images/%E6%99%AE%E9%80%9A%E5%88%86%E7%B1%BB%E5%88%97%E8%A1%A8/u1098.png',
                                    width: 39,
                                    height: 26,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                              ),
                              Container(
                                margin: const EdgeInsets.only(top: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '炸鸡炸串',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color7979,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )
                            ],
                          ))
                        ],
                      ),
                    ),
                    SliverPersistentHeader(
                        pinned: true,
                        delegate: SliverHeaderDelegate.builder(
                            maxHeight: 50,
                            builder: (BuildContext context, double shrinkOffset,
                                bool overlapsContent) {
                              return Container(
                                color: overlapsContent
                                    ? Colors.white
                                    : Colors.transparent,
                                padding: const EdgeInsets.only(
                                    left: 10, right: 10, bottom: 5),
                                alignment: Alignment.centerLeft,
                                child: Row(
                                  mainAxisAlignment:
                                      MainAxisAlignment.spaceBetween,
                                  children: [
                                    Wrap(
                                      spacing: 15,
                                      alignment: WrapAlignment.start,
                                      crossAxisAlignment:
                                          WrapCrossAlignment.center,
                                      children: controller.sorted
                                          .asMap()
                                          .map((key, value) => MapEntry(
                                              key,
                                              GestureDetector(
                                                onTap: () {
                                                  controller.sortIdx.value =
                                                      key;
                                                },
                                                child: Text(
                                                  value,
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          color: key ==
                                                                  controller
                                                                      .sortIdx
                                                                      .value
                                                              ? ColorsUtils
                                                                  .colorFf64
                                                              : ColorsUtils
                                                                  .color7979),
                                                ),
                                              )))
                                          .values
                                          .toList(),
                                    ),
                                    GestureDetector(
                                      onTap: openBottomSheet,
                                      child: Text(
                                        '全部筛选▾',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color7979),
                                      ),
                                    )
                                  ],
                                ),
                              );
                            })),
                    SliverSafeArea(
                      sliver: SliverList.list(children: [
                        Container(
                          margin: const EdgeInsets.only(bottom: 10),
                          alignment: Alignment.center,
                          child: Container(
                            width: 345,
                            padding: const EdgeInsets.all(10),
                            alignment: Alignment.centerLeft,
                            decoration: BoxDecoration(
                                color: Colors.white,
                                borderRadius: BorderRadius.circular(10.r)),
                            child: Row(
                              crossAxisAlignment: CrossAxisAlignment.start,
                              mainAxisAlignment: MainAxisAlignment.start,
                              children: [
                                ClipRRect(
                                  borderRadius: BorderRadius.circular(5),
                                  child: Image.network(
                                    'https://img0.baidu.com/it/u=655977884,3582260165&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500',
                                    width: 75,
                                    height: 75,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                                Expanded(
                                    child: Padding(
                                  padding: const EdgeInsets.only(left: 10),
                                  child: Column(
                                    children: [
                                      Align(
                                        alignment: Alignment.centerLeft,
                                        child: Text(
                                          '华莱士-凤凰广场2店',
                                          style: StylesUtils.customTextStyle(
                                              color: ColorsUtils.color0000,
                                              fontSize: StylesUtils.fontSize16,
                                              fontWeight: FontWeight.w700),
                                        ),
                                      ),
                                      Padding(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        child: Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text.rich(TextSpan(children: [
                                              TextSpan(
                                                  text: '4.5分 ',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          fontSize: StylesUtils
                                                              .fontSize12,
                                                          color: ColorsUtils
                                                              .colorFf66)),
                                              TextSpan(
                                                  text: ' 月售312  人均￥45',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          color: ColorsUtils
                                                              .color7979,
                                                          fontSize: StylesUtils
                                                              .fontSize12))
                                            ])),
                                            Text(
                                              '平台转送',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      fontSize: StylesUtils
                                                          .fontSize12,
                                                      color: ColorsUtils
                                                          .colorFf64),
                                            )
                                          ],
                                        ),
                                      ),
                                      Row(
                                        mainAxisAlignment:
                                            MainAxisAlignment.spaceBetween,
                                        children: [
                                          Text(
                                            '起送￥20  免配送费',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          ),
                                          Text(
                                            '20分钟  2.2km',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color6666,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          )
                                        ],
                                      ),
                                      Container(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        alignment: Alignment.centerLeft,
                                        child: Wrap(
                                          spacing: 10,
                                          alignment: WrapAlignment.start,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          children: [
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '50减3';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '100减6';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '150减10';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 10,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            })
                                          ],
                                        ),
                                      ),
                                      Align(
                                        alignment: Alignment.centerRight,
                                        child: Wrap(
                                          alignment: WrapAlignment.end,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          spacing: 10,
                                          children: [
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香辣鸡翅',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥20',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '百事可乐（全国免费品尝）',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text.rich(TextSpan(
                                                        children: [
                                                          TextSpan(
                                                              text: '￥8',
                                                              style: StylesUtils.customTextStyle(
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  color: ColorsUtils
                                                                      .colorFf64)),
                                                          TextSpan(
                                                              text: ' ￥10',
                                                              style: StylesUtils.customTextStyle(
                                                                  color: ColorsUtils
                                                                      .color9999,
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  decoration:
                                                                      TextDecoration
                                                                          .lineThrough,
                                                                  decorationColor:
                                                                      ColorsUtils.parseColorFromHexString(
                                                                          ColorsUtils
                                                                              .color9999),
                                                                  decorationStyle:
                                                                      TextDecorationStyle
                                                                          .solid,
                                                                  decorationThickness:
                                                                      1))
                                                        ])),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香芋夹心饼',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥18',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            )
                                          ],
                                        ),
                                      )
                                    ],
                                  ),
                                ))
                              ],
                            ),
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(bottom: 10),
                          alignment: Alignment.center,
                          child: Container(
                            width: 345,
                            padding: const EdgeInsets.all(10),
                            alignment: Alignment.centerLeft,
                            decoration: BoxDecoration(
                                color: Colors.white,
                                borderRadius: BorderRadius.circular(10.r)),
                            child: Row(
                              crossAxisAlignment: CrossAxisAlignment.start,
                              mainAxisAlignment: MainAxisAlignment.start,
                              children: [
                                ClipRRect(
                                  borderRadius: BorderRadius.circular(5),
                                  child: Image.network(
                                    'https://img2.baidu.com/it/u=2048374330,2067526209&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
                                    width: 75,
                                    height: 75,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                                Expanded(
                                    child: Padding(
                                  padding: const EdgeInsets.only(left: 10),
                                  child: Column(
                                    children: [
                                      Align(
                                        alignment: Alignment.centerLeft,
                                        child: Text(
                                          '华莱士-凤凰广场2店',
                                          style: StylesUtils.customTextStyle(
                                              color: ColorsUtils.color0000,
                                              fontSize: StylesUtils.fontSize16,
                                              fontWeight: FontWeight.w700),
                                        ),
                                      ),
                                      Padding(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        child: Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text.rich(TextSpan(children: [
                                              TextSpan(
                                                  text: '4.5分 ',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          fontSize: StylesUtils
                                                              .fontSize12,
                                                          color: ColorsUtils
                                                              .colorFf66)),
                                              TextSpan(
                                                  text: ' 月售312  人均￥45',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          color: ColorsUtils
                                                              .color7979,
                                                          fontSize: StylesUtils
                                                              .fontSize12))
                                            ])),
                                            Text(
                                              '平台转送',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      fontSize: StylesUtils
                                                          .fontSize12,
                                                      color: ColorsUtils
                                                          .colorFf64),
                                            )
                                          ],
                                        ),
                                      ),
                                      Row(
                                        mainAxisAlignment:
                                            MainAxisAlignment.spaceBetween,
                                        children: [
                                          Text(
                                            '起送￥20  免配送费',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          ),
                                          Text(
                                            '20分钟  2.2km',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color6666,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          )
                                        ],
                                      ),
                                      Container(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        alignment: Alignment.centerLeft,
                                        child: Wrap(
                                          spacing: 10,
                                          alignment: WrapAlignment.start,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          children: [
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '50减3';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 10,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '100减6';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '150减10';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            })
                                          ],
                                        ),
                                      ),
                                      Align(
                                        alignment: Alignment.centerRight,
                                        child: Wrap(
                                          alignment: WrapAlignment.end,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          spacing: 10,
                                          children: [
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香辣鸡翅',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥20',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '百事可乐（全国免费品尝）',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text.rich(TextSpan(
                                                        children: [
                                                          TextSpan(
                                                              text: '￥8',
                                                              style: StylesUtils.customTextStyle(
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  color: ColorsUtils
                                                                      .colorFf64)),
                                                          TextSpan(
                                                              text: ' ￥10',
                                                              style: StylesUtils.customTextStyle(
                                                                  color: ColorsUtils
                                                                      .color9999,
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  decoration:
                                                                      TextDecoration
                                                                          .lineThrough,
                                                                  decorationColor:
                                                                      ColorsUtils.parseColorFromHexString(
                                                                          ColorsUtils
                                                                              .color9999),
                                                                  decorationStyle:
                                                                      TextDecorationStyle
                                                                          .solid,
                                                                  decorationThickness:
                                                                      1))
                                                        ])),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香芋夹心饼',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥18',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            )
                                          ],
                                        ),
                                      )
                                    ],
                                  ),
                                ))
                              ],
                            ),
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(bottom: 10),
                          alignment: Alignment.center,
                          child: Container(
                            width: 345,
                            padding: const EdgeInsets.all(10),
                            alignment: Alignment.centerLeft,
                            decoration: BoxDecoration(
                                color: Colors.white,
                                borderRadius: BorderRadius.circular(10.r)),
                            child: Row(
                              crossAxisAlignment: CrossAxisAlignment.start,
                              mainAxisAlignment: MainAxisAlignment.start,
                              children: [
                                ClipRRect(
                                  borderRadius: BorderRadius.circular(5),
                                  child: Image.network(
                                    'https://img2.baidu.com/it/u=1762044232,2597508453&fm=253&fmt=auto&app=138&f=JPEG?w=600&h=400',
                                    width: 75,
                                    height: 75,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                                Expanded(
                                    child: Padding(
                                  padding: const EdgeInsets.only(left: 10),
                                  child: Column(
                                    children: [
                                      Align(
                                        alignment: Alignment.centerLeft,
                                        child: Text(
                                          '华莱士-凤凰广场2店',
                                          style: StylesUtils.customTextStyle(
                                              color: ColorsUtils.color0000,
                                              fontSize: StylesUtils.fontSize16,
                                              fontWeight: FontWeight.w700),
                                        ),
                                      ),
                                      Padding(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        child: Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text.rich(TextSpan(children: [
                                              TextSpan(
                                                  text: '4.5分 ',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          fontSize: StylesUtils
                                                              .fontSize12,
                                                          color: ColorsUtils
                                                              .colorFf66)),
                                              TextSpan(
                                                  text: ' 月售312  人均￥45',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          color: ColorsUtils
                                                              .color7979,
                                                          fontSize: StylesUtils
                                                              .fontSize12))
                                            ])),
                                            Text(
                                              '平台转送',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      fontSize: StylesUtils
                                                          .fontSize12,
                                                      color: ColorsUtils
                                                          .colorFf64),
                                            )
                                          ],
                                        ),
                                      ),
                                      Row(
                                        mainAxisAlignment:
                                            MainAxisAlignment.spaceBetween,
                                        children: [
                                          Text(
                                            '起送￥20  免配送费',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          ),
                                          Text(
                                            '20分钟  2.2km',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color6666,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          )
                                        ],
                                      ),
                                      Container(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        alignment: Alignment.centerLeft,
                                        child: Wrap(
                                          spacing: 10,
                                          alignment: WrapAlignment.start,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          children: [
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '50减3';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 10,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '100减6';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '150减10';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            })
                                          ],
                                        ),
                                      ),
                                      Align(
                                        alignment: Alignment.centerRight,
                                        child: Wrap(
                                          alignment: WrapAlignment.end,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          spacing: 10,
                                          children: [
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香辣鸡翅',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥20',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '百事可乐（全国免费品尝）',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text.rich(TextSpan(
                                                        children: [
                                                          TextSpan(
                                                              text: '￥8',
                                                              style: StylesUtils.customTextStyle(
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  color: ColorsUtils
                                                                      .colorFf64)),
                                                          TextSpan(
                                                              text: ' ￥10',
                                                              style: StylesUtils.customTextStyle(
                                                                  color: ColorsUtils
                                                                      .color9999,
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  decoration:
                                                                      TextDecoration
                                                                          .lineThrough,
                                                                  decorationColor:
                                                                      ColorsUtils.parseColorFromHexString(
                                                                          ColorsUtils
                                                                              .color9999),
                                                                  decorationStyle:
                                                                      TextDecorationStyle
                                                                          .solid,
                                                                  decorationThickness:
                                                                      1))
                                                        ])),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香芋夹心饼',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥18',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            )
                                          ],
                                        ),
                                      )
                                    ],
                                  ),
                                ))
                              ],
                            ),
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(bottom: 10),
                          alignment: Alignment.center,
                          child: Container(
                            width: 345,
                            padding: const EdgeInsets.all(10),
                            alignment: Alignment.centerLeft,
                            decoration: BoxDecoration(
                                color: Colors.white,
                                borderRadius: BorderRadius.circular(10.r)),
                            child: Row(
                              crossAxisAlignment: CrossAxisAlignment.start,
                              mainAxisAlignment: MainAxisAlignment.start,
                              children: [
                                ClipRRect(
                                  borderRadius: BorderRadius.circular(5),
                                  child: Image.network(
                                    'https://img0.baidu.com/it/u=674491115,2187096604&fm=253&fmt=auto&app=138&f=JPEG?w=591&h=500',
                                    width: 75,
                                    height: 75,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                                Expanded(
                                    child: Padding(
                                  padding: const EdgeInsets.only(left: 10),
                                  child: Column(
                                    children: [
                                      Align(
                                        alignment: Alignment.centerLeft,
                                        child: Text(
                                          '华莱士-凤凰广场2店',
                                          style: StylesUtils.customTextStyle(
                                              color: ColorsUtils.color0000,
                                              fontSize: StylesUtils.fontSize16,
                                              fontWeight: FontWeight.w700),
                                        ),
                                      ),
                                      Padding(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        child: Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text.rich(TextSpan(children: [
                                              TextSpan(
                                                  text: '4.5分 ',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          fontSize: StylesUtils
                                                              .fontSize12,
                                                          color: ColorsUtils
                                                              .colorFf66)),
                                              TextSpan(
                                                  text: ' 月售312  人均￥45',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          color: ColorsUtils
                                                              .color7979,
                                                          fontSize: StylesUtils
                                                              .fontSize12))
                                            ])),
                                            Text(
                                              '平台转送',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      fontSize: StylesUtils
                                                          .fontSize12,
                                                      color: ColorsUtils
                                                          .colorFf64),
                                            )
                                          ],
                                        ),
                                      ),
                                      Row(
                                        mainAxisAlignment:
                                            MainAxisAlignment.spaceBetween,
                                        children: [
                                          Text(
                                            '起送￥20  免配送费',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          ),
                                          Text(
                                            '20分钟  2.2km',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color6666,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          )
                                        ],
                                      ),
                                      Container(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        alignment: Alignment.centerLeft,
                                        child: Wrap(
                                          spacing: 10,
                                          alignment: WrapAlignment.start,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          children: [
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '50减3';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 10,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '100减6';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '150减10';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            })
                                          ],
                                        ),
                                      ),
                                      Align(
                                        alignment: Alignment.centerRight,
                                        child: Wrap(
                                          alignment: WrapAlignment.end,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          spacing: 10,
                                          children: [
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香辣鸡翅',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥20',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '百事可乐（全国免费品尝）',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text.rich(TextSpan(
                                                        children: [
                                                          TextSpan(
                                                              text: '￥8',
                                                              style: StylesUtils.customTextStyle(
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  color: ColorsUtils
                                                                      .colorFf64)),
                                                          TextSpan(
                                                              text: ' ￥10',
                                                              style: StylesUtils.customTextStyle(
                                                                  color: ColorsUtils
                                                                      .color9999,
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  decoration:
                                                                      TextDecoration
                                                                          .lineThrough,
                                                                  decorationColor:
                                                                      ColorsUtils.parseColorFromHexString(
                                                                          ColorsUtils
                                                                              .color9999),
                                                                  decorationStyle:
                                                                      TextDecorationStyle
                                                                          .solid,
                                                                  decorationThickness:
                                                                      1))
                                                        ])),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香芋夹心饼',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥18',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            )
                                          ],
                                        ),
                                      )
                                    ],
                                  ),
                                ))
                              ],
                            ),
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(bottom: 10),
                          alignment: Alignment.center,
                          child: Container(
                            width: 345,
                            padding: const EdgeInsets.all(10),
                            alignment: Alignment.centerLeft,
                            decoration: BoxDecoration(
                                color: Colors.white,
                                borderRadius: BorderRadius.circular(10.r)),
                            child: Row(
                              crossAxisAlignment: CrossAxisAlignment.start,
                              mainAxisAlignment: MainAxisAlignment.start,
                              children: [
                                ClipRRect(
                                  borderRadius: BorderRadius.circular(5),
                                  child: Image.network(
                                    'https://img2.baidu.com/it/u=259178695,887234081&fm=253&fmt=auto&app=138&f=JPEG?w=595&h=500',
                                    width: 75,
                                    height: 75,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                                Expanded(
                                    child: Padding(
                                  padding: const EdgeInsets.only(left: 10),
                                  child: Column(
                                    children: [
                                      Align(
                                        alignment: Alignment.centerLeft,
                                        child: Text(
                                          '华莱士-凤凰广场2店',
                                          style: StylesUtils.customTextStyle(
                                              color: ColorsUtils.color0000,
                                              fontSize: StylesUtils.fontSize16,
                                              fontWeight: FontWeight.w700),
                                        ),
                                      ),
                                      Padding(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        child: Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text.rich(TextSpan(children: [
                                              TextSpan(
                                                  text: '4.5分 ',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          fontSize: StylesUtils
                                                              .fontSize12,
                                                          color: ColorsUtils
                                                              .colorFf66)),
                                              TextSpan(
                                                  text: ' 月售312  人均￥45',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          color: ColorsUtils
                                                              .color7979,
                                                          fontSize: StylesUtils
                                                              .fontSize12))
                                            ])),
                                            Text(
                                              '平台转送',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      fontSize: StylesUtils
                                                          .fontSize12,
                                                      color: ColorsUtils
                                                          .colorFf64),
                                            )
                                          ],
                                        ),
                                      ),
                                      Row(
                                        mainAxisAlignment:
                                            MainAxisAlignment.spaceBetween,
                                        children: [
                                          Text(
                                            '起送￥20  免配送费',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          ),
                                          Text(
                                            '20分钟  2.2km',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color6666,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          )
                                        ],
                                      ),
                                      Container(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        alignment: Alignment.centerLeft,
                                        child: Wrap(
                                          spacing: 10,
                                          alignment: WrapAlignment.start,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          children: [
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '50减3';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 10,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '100减6';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '150减10';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            })
                                          ],
                                        ),
                                      ),
                                      Align(
                                        alignment: Alignment.centerRight,
                                        child: Wrap(
                                          alignment: WrapAlignment.end,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          spacing: 10,
                                          children: [
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香辣鸡翅',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥20',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '百事可乐（全国免费品尝）',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text.rich(TextSpan(
                                                        children: [
                                                          TextSpan(
                                                              text: '￥8',
                                                              style: StylesUtils.customTextStyle(
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  color: ColorsUtils
                                                                      .colorFf64)),
                                                          TextSpan(
                                                              text: ' ￥10',
                                                              style: StylesUtils.customTextStyle(
                                                                  color: ColorsUtils
                                                                      .color9999,
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  decoration:
                                                                      TextDecoration
                                                                          .lineThrough,
                                                                  decorationColor:
                                                                      ColorsUtils.parseColorFromHexString(
                                                                          ColorsUtils
                                                                              .color9999),
                                                                  decorationStyle:
                                                                      TextDecorationStyle
                                                                          .solid,
                                                                  decorationThickness:
                                                                      1))
                                                        ])),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香芋夹心饼',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥18',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            )
                                          ],
                                        ),
                                      )
                                    ],
                                  ),
                                ))
                              ],
                            ),
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(bottom: 10),
                          alignment: Alignment.center,
                          child: Container(
                            width: 345,
                            padding: const EdgeInsets.all(10),
                            alignment: Alignment.centerLeft,
                            decoration: BoxDecoration(
                                color: Colors.white,
                                borderRadius: BorderRadius.circular(10.r)),
                            child: Row(
                              crossAxisAlignment: CrossAxisAlignment.start,
                              mainAxisAlignment: MainAxisAlignment.start,
                              children: [
                                ClipRRect(
                                  borderRadius: BorderRadius.circular(5),
                                  child: Image.network(
                                    'https://img0.baidu.com/it/u=655977884,3582260165&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500',
                                    width: 75,
                                    height: 75,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                                Expanded(
                                    child: Padding(
                                  padding: const EdgeInsets.only(left: 10),
                                  child: Column(
                                    children: [
                                      Align(
                                        alignment: Alignment.centerLeft,
                                        child: Text(
                                          '华莱士-凤凰广场2店',
                                          style: StylesUtils.customTextStyle(
                                              color: ColorsUtils.color0000,
                                              fontSize: StylesUtils.fontSize16,
                                              fontWeight: FontWeight.w700),
                                        ),
                                      ),
                                      Padding(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        child: Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text.rich(TextSpan(children: [
                                              TextSpan(
                                                  text: '4.5分 ',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          fontSize: StylesUtils
                                                              .fontSize12,
                                                          color: ColorsUtils
                                                              .colorFf66)),
                                              TextSpan(
                                                  text: ' 月售312  人均￥45',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          color: ColorsUtils
                                                              .color7979,
                                                          fontSize: StylesUtils
                                                              .fontSize12))
                                            ])),
                                            Text(
                                              '平台转送',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      fontSize: StylesUtils
                                                          .fontSize12,
                                                      color: ColorsUtils
                                                          .colorFf64),
                                            )
                                          ],
                                        ),
                                      ),
                                      Row(
                                        mainAxisAlignment:
                                            MainAxisAlignment.spaceBetween,
                                        children: [
                                          Text(
                                            '起送￥20  免配送费',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          ),
                                          Text(
                                            '20分钟  2.2km',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color6666,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          )
                                        ],
                                      ),
                                      Container(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        alignment: Alignment.centerLeft,
                                        child: Wrap(
                                          spacing: 10,
                                          alignment: WrapAlignment.start,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          children: [
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '50减3';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 10,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '100减6';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '150减10';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            })
                                          ],
                                        ),
                                      ),
                                      Align(
                                        alignment: Alignment.centerRight,
                                        child: Wrap(
                                          alignment: WrapAlignment.end,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          spacing: 10,
                                          children: [
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香辣鸡翅',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥20',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '百事可乐（全国免费品尝）',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text.rich(TextSpan(
                                                        children: [
                                                          TextSpan(
                                                              text: '￥8',
                                                              style: StylesUtils.customTextStyle(
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  color: ColorsUtils
                                                                      .colorFf64)),
                                                          TextSpan(
                                                              text: ' ￥10',
                                                              style: StylesUtils.customTextStyle(
                                                                  color: ColorsUtils
                                                                      .color9999,
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  decoration:
                                                                      TextDecoration
                                                                          .lineThrough,
                                                                  decorationColor:
                                                                      ColorsUtils.parseColorFromHexString(
                                                                          ColorsUtils
                                                                              .color9999),
                                                                  decorationStyle:
                                                                      TextDecorationStyle
                                                                          .solid,
                                                                  decorationThickness:
                                                                      1))
                                                        ])),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香芋夹心饼',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥18',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            )
                                          ],
                                        ),
                                      )
                                    ],
                                  ),
                                ))
                              ],
                            ),
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(bottom: 10),
                          alignment: Alignment.center,
                          child: Container(
                            width: 345,
                            padding: const EdgeInsets.all(10),
                            alignment: Alignment.centerLeft,
                            decoration: BoxDecoration(
                                color: Colors.white,
                                borderRadius: BorderRadius.circular(10.r)),
                            child: Row(
                              crossAxisAlignment: CrossAxisAlignment.start,
                              mainAxisAlignment: MainAxisAlignment.start,
                              children: [
                                ClipRRect(
                                  borderRadius: BorderRadius.circular(5),
                                  child: Image.network(
                                    'https://img2.baidu.com/it/u=2048374330,2067526209&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
                                    width: 75,
                                    height: 75,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                                Expanded(
                                    child: Padding(
                                  padding: const EdgeInsets.only(left: 10),
                                  child: Column(
                                    children: [
                                      Align(
                                        alignment: Alignment.centerLeft,
                                        child: Text(
                                          '华莱士-凤凰广场2店',
                                          style: StylesUtils.customTextStyle(
                                              color: ColorsUtils.color0000,
                                              fontSize: StylesUtils.fontSize16,
                                              fontWeight: FontWeight.w700),
                                        ),
                                      ),
                                      Padding(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        child: Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text.rich(TextSpan(children: [
                                              TextSpan(
                                                  text: '4.5分 ',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          fontSize: StylesUtils
                                                              .fontSize12,
                                                          color: ColorsUtils
                                                              .colorFf66)),
                                              TextSpan(
                                                  text: ' 月售312  人均￥45',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          color: ColorsUtils
                                                              .color7979,
                                                          fontSize: StylesUtils
                                                              .fontSize12))
                                            ])),
                                            Text(
                                              '平台转送',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      fontSize: StylesUtils
                                                          .fontSize12,
                                                      color: ColorsUtils
                                                          .colorFf64),
                                            )
                                          ],
                                        ),
                                      ),
                                      Row(
                                        mainAxisAlignment:
                                            MainAxisAlignment.spaceBetween,
                                        children: [
                                          Text(
                                            '起送￥20  免配送费',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          ),
                                          Text(
                                            '20分钟  2.2km',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color6666,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          )
                                        ],
                                      ),
                                      Container(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        alignment: Alignment.centerLeft,
                                        child: Wrap(
                                          spacing: 10,
                                          alignment: WrapAlignment.start,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          children: [
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '50减3';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 10,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '100减6';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '150减10';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            })
                                          ],
                                        ),
                                      ),
                                      Align(
                                        alignment: Alignment.centerRight,
                                        child: Wrap(
                                          alignment: WrapAlignment.end,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          spacing: 10,
                                          children: [
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香辣鸡翅',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥20',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '百事可乐（全国免费品尝）',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text.rich(TextSpan(
                                                        children: [
                                                          TextSpan(
                                                              text: '￥8',
                                                              style: StylesUtils.customTextStyle(
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  color: ColorsUtils
                                                                      .colorFf64)),
                                                          TextSpan(
                                                              text: ' ￥10',
                                                              style: StylesUtils.customTextStyle(
                                                                  color: ColorsUtils
                                                                      .color9999,
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  decoration:
                                                                      TextDecoration
                                                                          .lineThrough,
                                                                  decorationColor:
                                                                      ColorsUtils.parseColorFromHexString(
                                                                          ColorsUtils
                                                                              .color9999),
                                                                  decorationStyle:
                                                                      TextDecorationStyle
                                                                          .solid,
                                                                  decorationThickness:
                                                                      1))
                                                        ])),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香芋夹心饼',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥18',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            )
                                          ],
                                        ),
                                      )
                                    ],
                                  ),
                                ))
                              ],
                            ),
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(bottom: 10),
                          alignment: Alignment.center,
                          child: Container(
                            width: 345,
                            padding: const EdgeInsets.all(10),
                            alignment: Alignment.centerLeft,
                            decoration: BoxDecoration(
                                color: Colors.white,
                                borderRadius: BorderRadius.circular(10.r)),
                            child: Row(
                              crossAxisAlignment: CrossAxisAlignment.start,
                              mainAxisAlignment: MainAxisAlignment.start,
                              children: [
                                ClipRRect(
                                  borderRadius: BorderRadius.circular(5),
                                  child: Image.network(
                                    'https://img2.baidu.com/it/u=1762044232,2597508453&fm=253&fmt=auto&app=138&f=JPEG?w=600&h=400',
                                    width: 75,
                                    height: 75,
                                    fit: BoxFit.fill,
                                  ),
                                ),
                                Expanded(
                                    child: Padding(
                                  padding: const EdgeInsets.only(left: 10),
                                  child: Column(
                                    children: [
                                      Align(
                                        alignment: Alignment.centerLeft,
                                        child: Text(
                                          '华莱士-凤凰广场2店',
                                          style: StylesUtils.customTextStyle(
                                              color: ColorsUtils.color0000,
                                              fontSize: StylesUtils.fontSize16,
                                              fontWeight: FontWeight.w700),
                                        ),
                                      ),
                                      Padding(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        child: Row(
                                          mainAxisAlignment:
                                              MainAxisAlignment.spaceBetween,
                                          children: [
                                            Text.rich(TextSpan(children: [
                                              TextSpan(
                                                  text: '4.5分 ',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          fontSize: StylesUtils
                                                              .fontSize12,
                                                          color: ColorsUtils
                                                              .colorFf66)),
                                              TextSpan(
                                                  text: ' 月售312  人均￥45',
                                                  style: StylesUtils
                                                      .customTextStyle(
                                                          color: ColorsUtils
                                                              .color7979,
                                                          fontSize: StylesUtils
                                                              .fontSize12))
                                            ])),
                                            Text(
                                              '平台转送',
                                              style:
                                                  StylesUtils.customTextStyle(
                                                      fontSize: StylesUtils
                                                          .fontSize12,
                                                      color: ColorsUtils
                                                          .colorFf64),
                                            )
                                          ],
                                        ),
                                      ),
                                      Row(
                                        mainAxisAlignment:
                                            MainAxisAlignment.spaceBetween,
                                        children: [
                                          Text(
                                            '起送￥20  免配送费',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color7979,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          ),
                                          Text(
                                            '20分钟  2.2km',
                                            style: StylesUtils.customTextStyle(
                                                color: ColorsUtils.color6666,
                                                fontSize:
                                                    StylesUtils.fontSize12),
                                          )
                                        ],
                                      ),
                                      Container(
                                        padding: const EdgeInsets.symmetric(
                                            vertical: 10),
                                        alignment: Alignment.centerLeft,
                                        child: Wrap(
                                          spacing: 10,
                                          alignment: WrapAlignment.start,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          children: [
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '50减3';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 10,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '100减6';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            }),
                                            Builder(builder: (_) {
                                              final style =
                                                  StylesUtils.customTextStyle(
                                                      color:
                                                          ColorsUtils.colorFf64,
                                                      fontSize: StylesUtils
                                                          .fontSize12);
                                              const value = '150减10';
                                              double width =
                                                  ToolsUtils.calculateTextWidth(
                                                      value: value,
                                                      style: style);
                                              return Container(
                                                constraints:
                                                    BoxConstraints.expand(
                                                        width: width + 20,
                                                        height: 20),
                                                alignment: Alignment.center,
                                                decoration: BoxDecoration(
                                                    borderRadius:
                                                        BorderRadius.circular(
                                                            2.r),
                                                    border: Border.all(
                                                        color: ColorsUtils
                                                            .parseColorFromHexString(
                                                                ColorsUtils
                                                                    .colorFf64))),
                                                child: Text(
                                                  value,
                                                  style: style,
                                                ),
                                              );
                                            })
                                          ],
                                        ),
                                      ),
                                      Align(
                                        alignment: Alignment.centerRight,
                                        child: Wrap(
                                          alignment: WrapAlignment.end,
                                          crossAxisAlignment:
                                              WrapCrossAlignment.center,
                                          spacing: 10,
                                          children: [
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img2.baidu.com/it/u=1382898662,2005223166&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香辣鸡翅',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥20',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=4046734346,2343640913&fm=253&fmt=auto&app=138&f=JPEG?w=658&h=411',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '百事可乐（全国免费品尝）',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text.rich(TextSpan(
                                                        children: [
                                                          TextSpan(
                                                              text: '￥8',
                                                              style: StylesUtils.customTextStyle(
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  color: ColorsUtils
                                                                      .colorFf64)),
                                                          TextSpan(
                                                              text: ' ￥10',
                                                              style: StylesUtils.customTextStyle(
                                                                  color: ColorsUtils
                                                                      .color9999,
                                                                  fontSize:
                                                                      StylesUtils
                                                                          .fontSize12,
                                                                  decoration:
                                                                      TextDecoration
                                                                          .lineThrough,
                                                                  decorationColor:
                                                                      ColorsUtils.parseColorFromHexString(
                                                                          ColorsUtils
                                                                              .color9999),
                                                                  decorationStyle:
                                                                      TextDecorationStyle
                                                                          .solid,
                                                                  decorationThickness:
                                                                      1))
                                                        ])),
                                                  )
                                                ],
                                              ),
                                            ),
                                            SizedBox(
                                              width: 70,
                                              child: Column(
                                                children: [
                                                  Image.network(
                                                    'https://img0.baidu.com/it/u=74519030,2219195209&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=281',
                                                    width: 70,
                                                    height: 60,
                                                    fit: BoxFit.fill,
                                                  ),
                                                  Container(
                                                    margin: const EdgeInsets
                                                        .symmetric(vertical: 5),
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '香芋夹心饼',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .color0000),
                                                      maxLines: 1,
                                                      overflow:
                                                          TextOverflow.ellipsis,
                                                    ),
                                                  ),
                                                  Align(
                                                    alignment:
                                                        Alignment.centerLeft,
                                                    child: Text(
                                                      '￥18',
                                                      style: StylesUtils
                                                          .customTextStyle(
                                                              fontSize:
                                                                  StylesUtils
                                                                      .fontSize12,
                                                              color: ColorsUtils
                                                                  .colorFf64),
                                                    ),
                                                  )
                                                ],
                                              ),
                                            )
                                          ],
                                        ),
                                      )
                                    ],
                                  ),
                                ))
                              ],
                            ),
                          ),
                        ),
                      ]),
                      top: false,
                    )
                  ],
                ),
              ),
              Visibility(
                key: controller.sliverKey,
                visible: controller.opacity.value >= 1.0,
                maintainAnimation: true,
                maintainState: true,
                child: Column(
                  children: [
                    Container(
                      padding: EdgeInsets.only(top: Get.mediaQuery.padding.top),
                      color: Colors.white,
                      height: 40 + Get.mediaQuery.padding.top,
                      child: Row(
                        children: [
                          IconButton(
                              onPressed: Get.back,
                              style: const ButtonStyle(
                                  fixedSize: WidgetStatePropertyAll(
                                      Size.fromWidth(10)),
                                  minimumSize: WidgetStatePropertyAll(
                                      Size.fromWidth(10)),
                                  padding:
                                      WidgetStatePropertyAll(EdgeInsets.zero)),
                              alignment: Alignment.center,
                              icon: const Icon(
                                Icons.arrow_back_ios,
                                size: 20,
                                color: Colors.black,
                              )),
                          Expanded(
                              child: Center(
                            child: TextField(
                              decoration: InputDecoration(
                                hintText: '请输入商家、商品名称',
                                hintStyle: StylesUtils.customTextStyle(
                                  color: ColorsUtils.colorCccc,
                                ),
                                prefixIcon: SvgUtils.assetName('u241',
                                    width: 14, height: 14),
                                prefixIconConstraints:
                                    const BoxConstraints.expand(
                                        width: 40, height: 14),
                                constraints: const BoxConstraints.expand(
                                    width: 275, height: 35),
                                fillColor: ColorsUtils.parseColorFromHexString(
                                    ColorsUtils.colorF5f5),
                                filled: true,
                                isCollapsed: true,
                                contentPadding:
                                    const EdgeInsets.symmetric(vertical: 10),
                                enabledBorder: OutlineInputBorder(
                                  borderRadius: BorderRadius.circular(17.5),
                                  borderSide: BorderSide.none,
                                ),
                                focusedBorder: OutlineInputBorder(
                                  borderRadius: BorderRadius.circular(17.5),
                                  borderSide: BorderSide.none,
                                ),
                                border: OutlineInputBorder(
                                  borderRadius: BorderRadius.circular(17.5),
                                  borderSide: BorderSide.none,
                                ),
                              ),
                            ),
                          )),
                          Container(
                            width: 60,
                            alignment: Alignment.center,
                            child: Stack(
                              clipBehavior: Clip.none,
                              children: [
                                SvgUtils.assetName('u1115',
                                    width: 21.w, height: 22),
                                Positioned(
                                  top: -6.w,
                                  right: -4,
                                  child: Container(
                                    alignment: Alignment.center,
                                    constraints: const BoxConstraints.expand(
                                        width: 15, height: 15),
                                    decoration: BoxDecoration(
                                        color:
                                            ColorsUtils.parseColorFromHexString(
                                                ColorsUtils.colorFf64),
                                        borderRadius:
                                            BorderRadius.circular(7.5)),
                                    child: Text(
                                      '2',
                                      style: StylesUtils.customTextStyle(
                                          fontSize: 11.sp),
                                    ),
                                  ),
                                )
                              ],
                            ),
                          )
                        ],
                      ),
                    ),
                    Container(
                      color: Colors.white,
                      height: 40,
                      alignment: Alignment.centerLeft,
                      child: SingleChildScrollView(
                        scrollDirection: Axis.horizontal,
                        padding: const EdgeInsets.only(left: 15),
                        child: Wrap(
                          spacing: 15,
                          children: [
                            Text(
                              '全部',
                              softWrap: false,
                              style: StylesUtils.customTextStyle(
                                  color: ColorsUtils.colorFf64,
                                  fontSize: StylesUtils.fontSize13),
                            ),
                            Text(
                              '快餐便当',
                              softWrap: false,
                              style: StylesUtils.customTextStyle(
                                  color: ColorsUtils.color7979,
                                  fontSize: StylesUtils.fontSize13),
                            ),
                            Text(
                              '米粉面馆',
                              softWrap: false,
                              style: StylesUtils.customTextStyle(
                                  color: ColorsUtils.color7979,
                                  fontSize: StylesUtils.fontSize13),
                            ),
                            Text(
                              '地方菜系',
                              softWrap: false,
                              style: StylesUtils.customTextStyle(
                                  color: ColorsUtils.color7979,
                                  fontSize: StylesUtils.fontSize13),
                            ),
                            Text(
                              '炸鸡炸串',
                              softWrap: false,
                              style: StylesUtils.customTextStyle(
                                  color: ColorsUtils.color7979,
                                  fontSize: StylesUtils.fontSize13),
                            ),
                            Text(
                              '特色小吃',
                              softWrap: false,
                              style: StylesUtils.customTextStyle(
                                  color: ColorsUtils.color7979,
                                  fontSize: StylesUtils.fontSize13),
                            ),
                          ],
                        ),
                      ),
                    ),
                    Container(
                      height: 40,
                      color: Colors.white,
                      padding:
                          const EdgeInsets.only(left: 10, right: 10, bottom: 5),
                      alignment: Alignment.centerLeft,
                      child: Row(
                        mainAxisAlignment: MainAxisAlignment.spaceBetween,
                        children: [
                          Wrap(
                            spacing: 15,
                            alignment: WrapAlignment.start,
                            crossAxisAlignment: WrapCrossAlignment.center,
                            children: controller.sorted
                                .asMap()
                                .map((key, value) => MapEntry(
                                    key,
                                    GestureDetector(
                                      onTap: () {
                                        controller.sortIdx.value = key;
                                        // if (controller.top.value == 0) {
                                        //   controller.top.value = 45.0 * controller.selected.length;
                                        //   return;
                                        // }
                                        // controller.top.value = 120;
                                      },
                                      child: Text(
                                        value,
                                        style: StylesUtils.customTextStyle(
                                            color:
                                                key == controller.sortIdx.value
                                                    ? ColorsUtils.colorFf64
                                                    : ColorsUtils.color7979),
                                      ),
                                    )))
                                .values
                                .toList(),
                          ),
                          GestureDetector(
                            onTap: openBottomSheet,
                            child: Text(
                              '全部筛选▾',
                              style: StylesUtils.customTextStyle(
                                  color: ColorsUtils.color7979),
                            ),
                          )
                        ],
                      ),
                    )
                  ],
                ),
              )
            ],
          ),
        ),
      ),
    );
  }

  void openBottomSheet() {
    Get.bottomSheet(
        Container(
          height: 500,
          decoration: BoxDecoration(
            color: Colors.white,
            borderRadius: BorderRadius.only(
                topLeft: Radius.circular(15.r),
                topRight: Radius.circular(15.r)),
          ),
          child: Column(
            children: [
              Container(
                padding: const EdgeInsets.only(top: 10),
                height: 40,
                child: Stack(
                  children: [
                    Center(
                      child: Text(
                        '全部筛选',
                        style: StylesUtils.customTextStyle(
                            color: ColorsUtils.color3333,
                            fontSize: StylesUtils.fontSize16),
                      ),
                    ),
                    Positioned(
                        width: 40,
                        top: 0,
                        right: 0,
                        bottom: 0,
                        child: IconButton(
                            onPressed: () {
                              Get.back();
                            },
                            icon: Icon(
                              CupertinoIcons.xmark,
                              size: 15,
                              color: ColorsUtils.parseColorFromHexString(
                                  ColorsUtils.color9999),
                            )))
                  ],
                ),
              ),
              Container(
                padding: const EdgeInsets.only(left: 15, right: 15, top: 25),
                child: Column(
                  children: [
                    Align(
                      alignment: Alignment.centerLeft,
                      child: Text(
                        '优惠活动',
                        style: StylesUtils.customTextStyle(
                            color: ColorsUtils.color7979,
                            fontSize: StylesUtils.fontSize13),
                      ),
                    ),
                    Container(
                      padding: const EdgeInsets.symmetric(vertical: 15),
                      alignment: Alignment.centerLeft,
                      child: Wrap(
                        spacing: 5,
                        runSpacing: 10,
                        children: controller.activity.map((e) {
                          return Obx(() {
                            return GestureDetector(
                              onTap: () {
                                e.update((v) {
                                  v?.checked = !v.checked;
                                });
                              },
                              child: Container(
                                constraints: const BoxConstraints.expand(
                                    width: 110, height: 30),
                                alignment: Alignment.center,
                                decoration: BoxDecoration(
                                    color: e.value.checked
                                        ? ColorsUtils.rgba(250, 245, 245, 1)
                                        : ColorsUtils.parseColorFromHexString(
                                            ColorsUtils.colorF5f5),
                                    borderRadius: BorderRadius.circular(2.r),
                                    border: Border.all(
                                        color:
                                            ColorsUtils.rgba(244, 195, 186, 1),
                                        width: e.value.checked ? 1 : 0)),
                                child: Text(
                                  e.value.name,
                                  style: StylesUtils.customTextStyle(
                                      color: e.value.checked
                                          ? ColorsUtils.colorFf64
                                          : ColorsUtils.color7979),
                                ),
                              ),
                            );
                          });
                        }).toList(),
                      ),
                    ),
                    Align(
                      alignment: Alignment.centerLeft,
                      child: Text(
                        '商家服务',
                        style: StylesUtils.customTextStyle(
                            color: ColorsUtils.color7979,
                            fontSize: StylesUtils.fontSize13),
                      ),
                    ),
                    Container(
                      padding: const EdgeInsets.symmetric(vertical: 15),
                      alignment: Alignment.centerLeft,
                      child: Wrap(
                        spacing: 5,
                        runSpacing: 10,
                        crossAxisAlignment: WrapCrossAlignment.center,
                        alignment: WrapAlignment.start,
                        children: controller.service.map((e) {
                          return Obx(() {
                            return GestureDetector(
                              onTap: () {
                                e.update((v) {
                                  v?.checked = !v.checked;
                                });
                              },
                              child: Container(
                                constraints: const BoxConstraints.expand(
                                    width: 110, height: 30),
                                alignment: Alignment.center,
                                decoration: BoxDecoration(
                                    color: e.value.checked
                                        ? ColorsUtils.rgba(250, 245, 245, 1)
                                        : ColorsUtils.parseColorFromHexString(
                                            ColorsUtils.colorF5f5),
                                    borderRadius: BorderRadius.circular(2.r),
                                    border: Border.all(
                                        color:
                                            ColorsUtils.rgba(244, 195, 186, 1),
                                        width: e.value.checked ? 1 : 0)),
                                child: Text(
                                  e.value.name,
                                  style: StylesUtils.customTextStyle(
                                      color: e.value.checked
                                          ? ColorsUtils.colorFf64
                                          : ColorsUtils.color7979),
                                ),
                              ),
                            );
                          });
                        }).toList(),
                      ),
                    ),
                    Align(
                      alignment: Alignment.centerLeft,
                      child: Text(
                        '人均价格筛选 (元)',
                        style: StylesUtils.customTextStyle(
                            color: ColorsUtils.color7979,
                            fontSize: StylesUtils.fontSize13),
                      ),
                    ),
                    Obx(() => Padding(
                          padding: const EdgeInsets.symmetric(vertical: 10),
                          child: Row(
                            mainAxisAlignment: MainAxisAlignment.spaceBetween,
                            children: [
                              Text(
                                '${controller.values.value.start}',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.colorFf64),
                              ),
                              Text(
                                '${controller.values.value.end}',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.colorFf64),
                              )
                            ],
                          ),
                        )),
                    Obx(() => SfRangeSlider(
                        min: 0,
                        max: 100,
                        activeColor: ColorsUtils.parseColorFromHexString(
                            ColorsUtils.colorFf64),
                        stepSize: 1,
                        values: controller.values.value,
                        onChanged: (SfRangeValues values) {
                          controller.values.value = values;
                        }))
                  ],
                ),
              ),
              Container(
                padding: const EdgeInsets.only(top: 15),
                alignment: Alignment.center,
                child: Container(
                  constraints:
                      const BoxConstraints.expand(width: 340, height: 45),
                  child: Row(
                    children: [
                      Expanded(
                          child: GestureDetector(
                        onTap: () {
                          controller.values.value = controller.values.value
                              .copyWith(start: 0, end: 100);
                          for (var action in controller.service) {
                            action.update((s) => s?.checked = false);
                          }
                          for (var action in controller.activity) {
                            action.update((s) => s?.checked = false);
                          }
                        },
                        child: Container(
                          decoration: BoxDecoration(
                              color: ColorsUtils.parseColorFromHexString(
                                  ColorsUtils.colorF5f5),
                              borderRadius: const BorderRadius.only(
                                  topLeft: Radius.circular(22.5),
                                  bottomLeft: Radius.circular(22.5))),
                          alignment: Alignment.center,
                          child: Text(
                            '重置',
                            style: StylesUtils.customTextStyle(
                                color: ColorsUtils.color0000,
                                fontSize: StylesUtils.fontSize16),
                          ),
                        ),
                      )),
                      Expanded(
                          child: GestureDetector(
                        onTap: () {
                          Get.back();
                        },
                        child: Container(
                          decoration: BoxDecoration(
                            borderRadius: const BorderRadius.only(
                                topRight: Radius.circular(22.5),
                                bottomRight: Radius.circular(22.5)),
                            gradient: LinearGradient(
                                //linear-gradient(90deg, rgba(255, 153, 0, 1) 0%, rgba(255, 153, 0, 1) 0%, rgba(255, 100, 77, 1) 100%, rgba(255, 100, 77, 1) 100%)
                                colors: [
                                  ColorsUtils.rgba(255, 153, 0, 1),
                                  ColorsUtils.rgba(255, 153, 0, 1),
                                  ColorsUtils.rgba(255, 100, 77, 1),
                                  ColorsUtils.rgba(255, 100, 77, 1)
                                ],
                                stops: const [
                                  0,
                                  0,
                                  1.0,
                                  1.0
                                ],
                                transform: GradientRotation(
                                    RadianUtils.angleToRadian(90))),
                          ),
                          alignment: Alignment.center,
                          child: Text(
                            '筛选',
                            style: StylesUtils.customTextStyle(
                                fontSize: StylesUtils.fontSize16),
                          ),
                        ),
                      ))
                    ],
                  ),
                ),
              )
            ],
          ),
        ),
        barrierColor: ColorsUtils.rgba(0, 0, 0, 0.298039215686275),
        isScrollControlled: true,
        elevation: 0);
  }
}
